Skip to content

Instantly share code, notes, and snippets.

View machupicchubeta's full-sized avatar

machupicchubeta machupicchubeta

View GitHub Profile
@machupicchubeta
machupicchubeta / show_merged_commit_logs_one_line
Created March 19, 2014 13:53
show git merged logs (oneline option)
NEW_RELEASE=`git tag | grep RELEASE_ | tail -n 1`
PREVIOUS_RELEASE=`git tag | grep RELEASE_ | tail -n 2 | head -n 1`
#git log ${PREVIOUS_RELEASE}..${NEW_RELEASE} | grep 'Merge pull'
git log --oneline --merges ${PREVIOUS_RELEASE}..${NEW_RELEASE}
@machupicchubeta
machupicchubeta / add_alias_setting_on_git-completion.bash
Last active August 29, 2015 13:56
gitコマンドのエイリアスでも使えるように~/.git-competion.bashに追記した。
__git_complete g __git_main