Created
January 18, 2019 10:48
-
-
Save rootux/1bd5ad023f283f91735b7d200e338ea4 to your computer and use it in GitHub Desktop.
Getting latest closed pr commit messages
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/sh | |
# Output github Pull Requests into a file | |
cmd="hub pr list -s closed -L 15 --format='%uD %H %t %b %n============%n'"; | |
tempfile=~/tmp.txt; | |
echo '------======IOS=====-------' > $tempfile | |
cd ~/Documents/projects/project/ios/ | |
eval $cmd >> $tempfile | |
echo '------======Backend=====-------' >> $tempfile | |
cd ~/Documents/projects/project/backend/ | |
eval $cmd >> $tempfile | |
echo '------======Web=====-------' >> $tempfile | |
cd ~/Documents/projects/project/web/ | |
eval $cmd >> $tempfile | |
sublime $tempfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment