趣文:那些會用 Git 的動物們
git commit -am ‘added debug log’ git commit -am ‘more debug logging’ git commit -am ‘even more debug logging’ git commit -am ‘logs’ git commit -am ‘lkjasfd’
git commit -a -m ‘stuffs’ git push git revert HEAD
git checkout master config/unicorn.rb: needs merge error: you need to resolve your current index first
git init
echo ‘*’ > .gitignore
git checkout -b refactor
git log . ctrl + d ctrl + d ctrl + d ctrl + d ctrl + d ctrl + d ctrl + d ctrl + d ctrl + d ctrl + d ctrl + d ctrl + d ctrl + d ctrl + d ctrl + d
git pull
CONFLICT (content): Merge conflict in pants.rb
Automatic merge failed; fix conflicts and then commit the result.
git reset —hard
git push origin bugfix
git checkout master git merge refactor
git push origin master
原文:Git Animals 整理:伯樂在線
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!