LoginSignup
0
0

More than 1 year has passed since last update.

git便利コマンドメモ

Posted at

ある文字列を変更したときのログを表示

$ git log -S"文字列"

ログをgrep

$ git log grep 検索する単語

ブランチのログをグラフィカルに表示

$ git log --graph

リモートブランチとの差分を見る

$ git diff origin/ブランチ名..コミットID

..の左側(origin/ブランチ名)から右側(コミットID)での差分を見ることができる。

コミット内容を詳細に表示

$ git show コミットID
0
0
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
0
0