从 Tumblr 上看到的一篇趣文,用 Git 命令描绘了 12 张 Gif 动态图。如下:
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
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 整理:伯乐在线
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/43013.html