mirror of
https://github.com/k88hudson/git-flight-rules.git
synced 2025-03-10 12:48:43 -03:00
Added cred helper info
This commit is contained in:
parent
83261c5b7a
commit
9bc656bdcc
25
README.md
25
README.md
@ -1435,6 +1435,31 @@ $ git config --global credential.helper cache
|
||||
$ git config --global credential.helper 'cache --timeout=3600'
|
||||
# Set the cache to timeout after 1 hour (setting is in seconds)
|
||||
```
|
||||
Find a credential helper.
|
||||
|
||||
```sh
|
||||
$ git help -a | grep credential
|
||||
# Shows you possible credential helpers
|
||||
```
|
||||
|
||||
For OS specific credential caching.
|
||||
|
||||
```sh
|
||||
$ git config --global credential.helper osxkeychain
|
||||
# For OSX
|
||||
```
|
||||
|
||||
```sh
|
||||
$ git config --global credential.helper manager
|
||||
# Git for Windows 2.7.3+
|
||||
```
|
||||
|
||||
```sh
|
||||
$ git config --global credential.helper gnome-keyring
|
||||
# Ubuntu and other GNOME-based distros
|
||||
```
|
||||
|
||||
More credential helpers can be found for different distributions/OS's
|
||||
|
||||
### I want to make Git ignore permissions and filemode changes
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user