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.

ワークスペースに修正が残っている場合に-dirtyが付加されたコミット番号を取得するgitコマンド

Last updated at Posted at 2021-05-28

結論

下記コマンドを実行する

git describe --always --abbrev=40 --dirty

これは Git command to get HEAD SHA1 with "-dirty" suffix if workspace is not clean - Stack Overflow に書いていた内容です。

不明点

--match=NeVeRmAtCh の意味。

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?