Created
August 31, 2016 17:30
-
-
Save dazza-codes/7714b46bf5f6cf26055521a570b54a69 to your computer and use it in GitHub Desktop.
Useful GIT Functions
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
#!/bin/bash | |
# Useful GIT Functions | |
#### Cutting a release with a log of recent pull requests merged to master | |
git_release_commits () | |
{ | |
git pull | |
git fetch -p | |
git log --oneline --decorate | grep 'Merge pull request' | head -n25 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment