0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

よく使うgitコマンド

Posted at

よく使うgitコマンドのまとめ
随時追加していく

グラフ形式でコミットログを出す

グラフ形式でいろいろ見やすいように出す
git log --oneline --graph --remotes --tags --branches

あるコミットの差分を出力する

git show commithash123

差分のあるファイル名のみ表示する

たとえばmasterからHEADまでの差分があるファイル名一覧を取得するには
git diff master --name-only

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?