那些會用 Git 的動物

Web開發者發表於2013-10-21

  從 Tumblr 上看到的一篇趣文,用 Git 命令描繪了 12 張 Gif 動態圖。如下: 

git - turtle

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 - elephant

git commit -a -m ‘stuffs’
git push
git revert HEAD

git - dog

git checkout master
config/unicorn.rb: needs merge
error: you need to resolve your current index first

git - armadillo

git init

git - hedgehog

echo ‘*’ > .gitignore

git - cat

git checkout -b refactor

git - giraffe

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 - walrus

git pull
CONFLICT (content): Merge conflict in pants.rb
Automatic merge failed; fix conflicts and then commit the result.

git - panda

git reset —hard

git - polar bear

git push origin bugfix

git checkout master
git merge refactor

git push origin master

  原文:Git Animals 整理:伯樂線上

相關文章