git常用命令
2016-11-15 11:21
176 查看
git status
git checkout -- sst/sst-mobile/src/main/resources/logback.xml
git add .
git commit
git push
git log
git status
git reset --hard
git pull
git log
git branch
git checkout master
git checkout feature/API-15-order-info
git merge origin/master
git branch -D master
git diff 756f8b8afbc5b2fd14641c079b91ff8eadba0c26
— merge specific files from another branch
git diff HEAD --name-only
git diff origin/master --name-only
git checkout feature/API-15-order-info file1 file2
git status
git commit
git checkout -- sst/sst-mobile/src/main/resources/logback.xml
git add .
git commit
git push
git log
git status
git reset --hard
git pull
git log
git branch
git checkout master
git checkout feature/API-15-order-info
git merge origin/master
git branch -D master
git diff 756f8b8afbc5b2fd14641c079b91ff8eadba0c26
— merge specific files from another branch
git diff HEAD --name-only
git diff origin/master --name-only
git checkout feature/API-15-order-info file1 file2
git status
git commit