Created
July 22, 2011 08:17
-
-
Save co3k/1099076 to your computer and use it in GitHub Desktop.
チケットに含まれるハッシュ値のうち、 stable-3.6.x に含まれるもののみを抽出するワンライナー
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
curl "https://raw.github.com/gist/1044456/dbe6d1d76e18d90c26c0352f6f8f51d9f68d5d4a/list-commit-hash-from-ticket.php" | sed 's/show\/165/show\/190/' | php | awk '{print "git branch --contains="$1"\|grep -q stable-3.6.x && echo "$1}' | sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
curl "https://raw.github.com/gist/1044456/dbe6d1d76e18d90c26c0352f6f8f51d9f68d5d4a/list-commit-hash-from-ticket.php" | sed 's/show/165/show/190/' | php | awk '{print "git branch --contains="$1"|grep -q stable-3.6.x && echo "$1}' | sh | awk '{print "git log --pretty=%H --grep="$1" release-3.6beta12"}'