趣文:那些会用 Git 的动物们
jopen 12年前
<div id="news_body"> <p style="text-align:center;"><a title="git - turtle" rel="lightbox[20123]"><img title="git - turtle" alt="趣文:那些会用 Git 的动物们" src="https://simg.open-open.com/show/52010fd6c977885f59b7cf3d92a1b61d.gif" width="500" height="269" /></a></p> <div class="cnblogs_code"> <pre>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’</pre> </div> <p style="text-align:center;"> <a title="git - elephant" rel="lightbox[20123]"><img title="git - elephant" alt="趣文:那些会用 Git 的动物们" src="https://simg.open-open.com/show/0ad7b757d7cba67c9ce096ca6bdf73e8.gif" width="260" height="224" /></a></p> <div class="cnblogs_code"> <pre>git commit -a -m ‘stuffs’ git push git revert HEAD</pre> </div> <p style="text-align:center;"><a title="git - dog" rel="lightbox[20123]"><img title="git - dog" alt="趣文:那些会用 Git 的动物们" src="https://simg.open-open.com/show/2e81266a174d0d8ca555367caca4f1d0.gif" width="350" height="265" /></a></p> <div class="cnblogs_code"> <pre> git checkout master config/unicorn.rb: needs merge error: you need to resolve your current index first</pre> </div> <p style="text-align:center;"><a title="git - armadillo" rel="lightbox[20123]"><img title="git - armadillo" alt="趣文:那些会用 Git 的动物们" src="https://simg.open-open.com/show/44333377cf23ec290cd1e0ce75deab34.gif" width="499" height="281" /></a></p> <div class="cnblogs_code"> <pre>git init </pre> </div> <p style="text-align:center;"><a title="git - hedgehog" rel="lightbox[20123]"><img title="git - hedgehog" alt="趣文:那些会用 Git 的动物们" src="https://simg.open-open.com/show/5bef3e148fa579ddb83524849555b4be.gif" width="295" height="197" /></a></p> <div class="cnblogs_code"> <pre>echo ‘*’ > .gitignore</pre> </div> <p style="text-align:center;"><a title="git - cat" rel="lightbox[20123]"><img title="git - cat" alt="趣文:那些会用 Git 的动物们" src="https://simg.open-open.com/show/74d517a64a153935dff33e1587b2b723.gif" width="500" height="375" /></a></p> <div class="cnblogs_code"> <pre>git checkout -b refactor</pre> </div> <p style="text-align:center;"><a title="git - giraffe" rel="lightbox[20123]"><img title="git - giraffe" alt="趣文:那些会用 Git 的动物们" src="https://simg.open-open.com/show/451cfad9239869d9285a3875c141a76c.gif" width="320" height="240" /></a></p> <div class="cnblogs_code"> <pre>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</pre> </div> <p style="text-align:center;"><a title="git - walrus" rel="lightbox[20123]"><img title="git - walrus" alt="趣文:那些会用 Git 的动物们" src="https://simg.open-open.com/show/0bac1bb85a58524973fa33b6b3d81486.gif" width="250" height="188" /></a></p> <div class="cnblogs_code"> <pre>git pull CONFLICT (content): Merge conflict <span style="color:#0000ff;">in</span> pants.rb Automatic merge failed; fix conflicts and then commit the result.</pre> </div> <p style="text-align:center;"><a title="git - panda" rel="lightbox[20123]"><img title="git - panda" alt="趣文:那些会用 Git 的动物们" src="https://simg.open-open.com/show/1f98a3a7f611e901d1e6d6565c357484.gif" width="247" height="178" /></a></p> <div class="cnblogs_code"> <pre> git reset —hard</pre> </div> <p style="text-align:center;"><a title="git - polar bear" rel="lightbox[20123]"><img title="git - polar bear" alt="趣文:那些会用 Git 的动物们" src="https://simg.open-open.com/show/0df3daf29b06a655d9f05d7c87037ddf.gif" width="500" height="195" /></a></p> <div class="cnblogs_code"> <pre>git push origin bugfix</pre> </div> <p style="text-align:center;"><img alt="趣文:那些会用 Git 的动物们" src="https://simg.open-open.com/show/6ed9e137c93e20e29e01db314954b58f.gif" width="317" height="216" /></p> <div class="cnblogs_code"> <pre> git checkout master git merge refactor</pre> </div> <p style="text-align:center;"><img alt="趣文:那些会用 Git 的动物们" src="https://simg.open-open.com/show/8c1c8f2f03b53ec6ff5c0197db085e5e.gif" width="499" height="280" /></p> <div class="cnblogs_code"> <pre> git push origin master</pre> </div> <p> 原文:<a href="/misc/goto?guid=4958341368717133159" rel="nofollow" target="_blank">Git Animals</a> 整理:<a title="伯乐" href="/misc/goto?guid=4958338613453938753">伯乐</a>在线</p> </div>