Skip to content

Instantly share code, notes, and snippets.

@beaugaines
Created August 15, 2016 20:31
Show Gist options
  • Save beaugaines/47cb954fbb1d0105cff55a4533f6490e to your computer and use it in GitHub Desktop.
Save beaugaines/47cb954fbb1d0105cff55a4533f6490e to your computer and use it in GitHub Desktop.

Checkpoint:

git checkout -b branch-name
git status (use often as needed)
git add .
git commit -m "Description"

git checkout master
git merge branch-name
git push origin master

git branch -d branch-name

Assignment:

git checkout -b branch-name
git status (use often as needed)
git add .
git commit -m "Description"

git push origin branch-name
git checkout master

#IF TOLD TO MERGE ASSIGNMENT
git merge branch-name
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment