Created
January 24, 2019 08:08
-
-
Save mrhieu/104e86a93068113710cf05f1d47de432 to your computer and use it in GitHub Desktop.
List of branches that have been merged to develop and not on master
This file contains 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
$ git log origin/master..origin/develop --oneline | grep "Merge pull request" | grep -v "from refuel4/master" | sed "s/.*from [^\/]*\//Branch: /g" | |
# Example output: | |
# Branch: fix/4031-batman-hits-a-car | |
# Branch: feature/3953-iron-man-works-hard | |
# Branch: fix/3995-global-warming | |
# Branch: feature/3953-deploy-rocket-to-mars | |
# Branch: fix/4024-deadpool-got-cancer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment