LoginSignup
3
3

More than 5 years have passed since last update.

git branch一覧(remote含む)からhash値のみ抜き出す

Posted at
$ git branch -avv | grep -v HEAD | sed -e 's/.* \([0-9a-z]\{7\}\) .*/\1/g'
fc8ce46
892dc61
ab84992
8ba0bf7
94a397e
033c3f5
dad066e
3abfe58
3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3