6
5

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 で最新のコミットのコミットログの summary を取得

Posted at
git log -1 --oneline | cut -b 9-

これでいいんですかね?こう書く以外に特に良さそうな方法が分からない (cut の代わりに sed 使うとか awk 使うとかじゃなくて git のコマンドの方).

6
5
2

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
6
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?