git checkout -b my_branch_name # create a new branch
git status # check that your're on new branch, and if there's anything to commit
git add . # add everything, or alternatively, add one by one
git commit -m 'my commit message"
git push # at this point... git will respond by saying did you mean "git push --set-upstream origin my_branch_name", so follow that command to complete pushing your local branch
Created
June 11, 2019 10:17
-
-
Save radiocontrolled/cd76e4398af167226659bf00920b91a8 to your computer and use it in GitHub Desktop.
commit flow
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment