Skip to content

Instantly share code, notes, and snippets.

@co3k
Created July 22, 2011 08:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save co3k/1099076 to your computer and use it in GitHub Desktop.
Save co3k/1099076 to your computer and use it in GitHub Desktop.
チケットに含まれるハッシュ値のうち、 stable-3.6.x に含まれるもののみを抽出するワンライナー
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
@co3k
Copy link
Author

co3k commented Jul 22, 2011

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"}'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment