Skip to content

Instantly share code, notes, and snippets.

@yuroyoro
yuroyoro / git-back
Created August 5, 2011 11:11
git back でひとつ前に居たbranchに戻る
#!/bin/sh
# usage:
# git back でひとつ前に居たbranchに戻る
# git back N でN個前に戻る
# git back --listで履歴だす
#
# /usr/local/libexec/git-coreに置いてchmod +xしとけ
CNT=1