生動(dòng)趣文:那些會(huì)用Git的動(dòng)物
作者:黃利民 整理
從Tumblr上看到的一篇趣文,用Git命令描繪了12張Gif動(dòng)態(tài)圖。不懂Git的也來(lái)看看趣圖吧……
從 Tumblr 上看到的一篇趣文,用 Git 命令描繪了 12 張 Gif 動(dòng)態(tài)圖,不懂Git的也來(lái)看看趣圖吧……
如下:
- 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
本文來(lái)自:http://blog.jobbole.com/20123/
責(zé)任編輯:林師授
來(lái)源:
伯樂(lè)在線(xiàn)