-
Notifications
You must be signed in to change notification settings - Fork 10
Creating and working with branches on the command line with git
Chris Bridgham edited this page May 10, 2020
·
1 revision
These notes were created for Chris because he seems to keep forgetting how to work with git on the linux command line.
git checkout master
git pull origin master
git checkout -b branchname
Also shorthand for:
git branch branchname
git checkout branchname
Edit the files in the branch as necessary
git add newfile
git commit -a -m 'Create new footer [issue 53]'
git push origin branchname
Navigate to maineballot's github page and create a pull request to ask for review. After review the branch will be merged to master.