LoginSignup
4
2

More than 5 years have passed since last update.

Git便利コマンドまとめ

Posted at

コミットが属するブランチを取得

git branch --contains <commit>
git name-rev <commit>

コミットが属するタグを取得

git tag -l --contains <commit>
フィルターする場合
git tag -l --contians <commit> 'v4.0.*'

ログをツリー形式で表示

git log --graph --oneline --decorate=full

4
2
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
4
2