Created
June 7, 2018 07:09
-
-
Save JerryCui/164ff740d72f9423b78f2e1b4cfa739c to your computer and use it in GitHub Desktop.
git usage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. commit | |
a. git status //confirm all modifys | |
b1. git add //if you can confirm that there is not conflict , just add all necessary files | |
b2. git stash // if you can't confirm any conflict | |
c1. git commit -m " some comment " | |
c2. git pull // get all newest files | |
d2. git stash apply //confirm if conflict | |
e2. git commit -m " some comment" | |
f1. git push | |
f2. git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment