Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function rc {
- release_branch=`git branch | grep release/ | sort -r | head -n 1 | sed -e s/'* '// | awk '{print $1}'`
- diff_branchs="master..$release_branch"
- echo -e "\e[34;5;204mRelease branch: $release_branch, diff: $diff_branchs, commits: \e[0m"
- text=`git log $diff_branchs --pretty=format:'- %s by @%an' --reverse | grep -v Merge | sort | uniq`
- echo $text
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement