搜索
❏ 站外平台:

趣文:那些会 Git 的动物们

| 2013-05-17 09:22   分享: 1    

从 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      整理:伯乐在线


最新评论


返回顶部

分享到微信

打开微信,点击顶部的“╋”,
使用“扫一扫”将网页分享至微信。