2
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 5 years have passed since last update.

【Git】コミットハッシュからコミット日時・内容等を取得する

Posted at

以下でできます。

git show ${コミットハッシュ}
実行例
$ git show bf79a4685551a67b9231bfc7d5335cbed414c238
commit bf79a4685551a67b9231bfc7d5335cbed414c238
Author: ~~ 省略 ~~
Date:   Sat Aug 17 20:53:58 2019 +0900

    fugaコミット
    
    fuca

diff --git a/README.md b/README.md
index 0ef7e93..1a57997 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,3 @@
+hoge
+fuga
 piyo

参考にさせて頂いた記事

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