Skip to content

Instantly share code, notes, and snippets.

@AngelOnFira
Last active May 31, 2018 23:53
Show Gist options
  • Select an option

  • Save AngelOnFira/ba08cc45426218ad86e8f3820decef93 to your computer and use it in GitHub Desktop.

Select an option

Save AngelOnFira/ba08cc45426218ad86e8f3820decef93 to your computer and use it in GitHub Desktop.
1. Make a new branch
In this example, the branch will be named "add-thing"
git checkout -b add-thing
git push -u origin add-thing
2. Get info about the branch you are on, and what changes you have made
git status
3. Commit your changes
In this example, we will use the filenames "file1" and "photos/file2"
git add file1
git add photos/file2
git commit -m "(Enter a description of your changes)"
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment