Skip to content

Commit 673d7b8

Browse files
committed
docs: use git config subcommand instead of mode
Signed-off-by: Sebastian Davids <[email protected]>
1 parent 43cd341 commit 673d7b8

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docs/developer-guide/modules/ROOT/pages/dev-environment/dev-environment-setup.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ After cloning this repository you need to install the Git hooks via:
88
99
[,console]
1010
----
11-
$ git config core.hooksPath .githooks
11+
$ git config set core.hooksPath .githooks
1212
----
1313
1414
And configure the https://git-scm.com/docs/git-config#Documentation/git-config.txt-blameignoreRevsFile[ignore-revs-file]:
1515
1616
[,console]
1717
----
18-
$ git config blame.ignoreRevsFile .git-blame-ignore-revs
18+
$ git config set blame.ignoreRevsFile .git-blame-ignore-revs
1919
----
2020
====

docs/user-guide/modules/ROOT/pages/functions/git/git-new-feature.adoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ Set the following Git configuration variables on your repository if you want to
2020
2121
[,shell]
2222
----
23-
$ git config branch.autosetuprebase always
24-
$ git config --bool pull.rebase true
23+
$ git config set branch.autosetuprebase always
24+
$ git config set --bool pull.rebase true
2525
----
2626
2727
Or set it globally:
2828
2929
[,shell]
3030
----
31-
$ git config --global branch.autosetuprebase always
32-
$ git config --global --bool pull.rebase true
31+
$ git config set --global branch.autosetuprebase always
32+
$ git config set --global --bool pull.rebase true
3333
----
3434
3535
More Information:

docs/user-guide/modules/ROOT/pages/scripts/general/fix-permissions.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ $ touch f && chmod u+x f
9090
$ touch s.sh
9191
$ mkdir .githooks
9292
$ touch .githooks/pre-commit && chmod u+x .githooks/pre-commit
93-
$ git config core.hooksPath .githooks
93+
$ git config set core.hooksPath .githooks
9494
$ mkdir -p node_modules/some-module
9595
$ touch node_modules/some-module/some-script && chmod u+x node_modules/some-module/some-script
9696
$ touch node_modules/some-module/some-script-without-execute-permission.sh

0 commit comments

Comments
 (0)