Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to upload laravel project on github using command

//upload project to github using git bash
1 git init
2 git add .
3 git commit -m "first commit"
4 //create a repository in git hub
//copy the url of new repository created and paste in following command before .git
5 git remote add origin url.git
6 git push -u origin master

//Commands to Update Existing repository
// Find & copy Central Repo URL
git remote add upstream https://github.com/username/repositoryname.git
//pull down any changes and sync the local repo with the central repo
git pull upstream main  // main is the default branch you can write your own branch name
//add changes
git add .
git commit -m "Message"
//push your changes up to your fork
git push origin master
Comment

PREVIOUS NEXT
Code Example
Shell :: docker sleep infinity 
Shell :: install emacs 
Shell :: bash command to open terminal 
Shell :: Python plot graph in bash 
Shell :: check if variable is a number in bash 
Shell :: use odbc from powershell 
Shell :: install docker-compose ec2 
Shell :: headlessui npm 
Shell :: intellij goto line 
Shell :: zsh: command not found: n 
Shell :: how to copy ssh key 
Shell :: ubuntu terminal find file recursive 
Shell :: change the file type of multiple files once in windows 
Shell :: conda linux 
Shell :: linux sort by file size 
Shell :: win32gui python 
Shell :: code ENOLOCALnpm ERR! Could not install from "android" 
Shell :: docker.service: Unit entered failed state. 
Shell :: linux kustomize install 
Shell :: linux list adb 
Shell :: how to exit git log 
Shell :: bash how to pass shell variables to awk 
Shell :: switch wsl 2 to 1 
Shell :: git delete all merged branches 
Shell :: git go back to previous commit remote branch 
Shell :: connect to wifi via Terminal 
Shell :: install tesseract 5 ubuntu 
Shell :: git reset last commit 
Shell :: copy ssh key directly window 
Shell :: shell foreach line 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =