Created
June 20, 2012 22:49
-
-
Save jennifersmith/2962703 to your computer and use it in GitHub Desktop.
release_dates.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all_release_branch_names=($(git show-ref | grep 'release_' | cut -d' ' -f 2)) | |
for branch in $all_release_branch_names; do | |
commit_where_it_branched_from_master= $(git merge-base ${branch} master) | |
git show $commit_where_it_branched_from_master -s --pretty=format:"$commit_it_where_branched_from_master branched from master on %cd" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment