https://github.com/visionmedia/git-extras生のgitをより便利にするためのサブコマンド集。
リリース管理も出来ちゃう。
いっぱいあるので抜粋。
reset --hard HEAD~xのalias
% git undo % git undo 3
容量の大きいファイルを間違って追加してしまったっ際に、過去のリビジョンからも存在を消去したいとき。
過去のリビジョンIDが書き換わるので要注意。
git obliterate secrets.json Rewrite e814bdf6e24c3468fba1b7185a135d5bb9273758 (125/126)rm 'History.md' Rewrite 8e4a332bbea3aa890c2d4fdc1528e082e13dc54f (126/126)rm 'History.md' Ref 'refs/heads/master' was rewritten WARNING: Ref 'refs/remotes/origin/master' is unchanged WARNING: Ref 'refs/remotes/origin/master' is unchanged
半自動で、CHANGELOGファイルを作ってくれる。リリース管理系のコマンドと組み合わせて使うとかなり楽。
% git-changelog
n.n.n / 2012-12-27_
==================
* updated
* added SmartyJump
* matsubo01
* updated according to famous option
* deleted dstat directory due to the curious error
* .vimrc maintenance.
* updated on matsubo01
* added pdv and nerd tree
* updated
* formatted
* updated readme
* matsubo01
* Merge branch 'master' of github.com:matsubo/matsu-shell-setting
* added syntax check
* minor chnage
* Merge branch 'master' of git://github.com/matsubo/matsu-shell-setting
....
Author毎のコミット数と割合を表示してくれる。
% git summary project : .setting repo age : 1 year, 9 months active : 63 days commits : 124 files : 11287 authors : 124 Yuki Matsukura 100.0%


Comments