git commit -m "LOOK AT ME TROLOLOLOL" --allow-empty
でno diff commit出来るgit status -sb
で色足してくれてメッセージも要らないのも省いてくれるgit config --global help.autocorrect 1
でgit comit
とかタイポしたときもcommit
してくれるgit config --global rerere.enabled 1
大規模の時にconflictを対処するときになんか作業を覚えてくれるらしいgit commit --amend
で最新のコミットに今の変更点を付け足せるらしいgit reset --soft HEAD^
で最新のコミットをstaging状態に戻せるgit shortlog -sn
で誰がいくらコミットしたかを一覧表示
More than 5 years have passed since last update.
Zach Holmanが Aloha RubyConf で紹介してた git 便利 tips
Last updated at Posted at 2012-12-26
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
3939