We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12df6df commit 7e4408cCopy full SHA for 7e4408c
docs/user-guide/modules/ROOT/pages/scripts/git/git-get-short-hash.adoc
@@ -18,7 +18,7 @@ To get a consistent hash length across systems you should either
18
+
19
[,shell]
20
----
21
-$ git config --local core.abbrev 20
+$ git config set core.abbrev 20
22
23
24
Unfortunately, these settings are https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#_git_config[not under version control].
@@ -41,7 +41,7 @@ $ scripts/git/git_get_short_hash.sh path/to/git/repository
41
dbd0ffb
42
$ scripts/git/git_get_short_hash.sh . 10
43
844881d148
44
45
$ scripts/git/git_get_short_hash.sh
46
844881d148be35d7c0a9
47
$ touch a
0 commit comments