Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions book/07-git-tools/sections/credentials.asc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Here's an example of how you'd configure the ``store'' helper with a custom file

[source,console]
----
$ git config --global credential.helper store --file ~/.my-credentials
$ git config --global credential.helper 'store --file ~/.my-credentials'
----

Git even allows you to configure several helpers.
Expand Down Expand Up @@ -193,7 +193,7 @@ Since its name starts with ``git-'', we can use the simple syntax for the config

[source,console]
----
$ git config --global credential.helper read-only --file /mnt/shared/creds
$ git config --global credential.helper 'read-only --file /mnt/shared/creds'
----

As you can see, extending this system is pretty straightforward, and can solve some common problems for you and your team.