mirror of
https://github.com/k88hudson/git-flight-rules.git
synced 2025-03-10 12:48:43 -03:00
Small grammar edits
This commit is contained in:
parent
9bc656bdcc
commit
bbcb8f6704
@ -1424,7 +1424,7 @@ You can also name the file as just .keep , in which case the second line above w
|
|||||||
|
|
||||||
### I want to cache a username and password for a repository
|
### I want to cache a username and password for a repository
|
||||||
|
|
||||||
You might have a repository that requires authentication. In which case you can cache a username and password so you don't have to enter it on every push / pull. Credential helper can do this for you.
|
You might have a repository that requires authentication. In which case you can cache a username and password so you don't have to enter it on every push and pull. Credential helper can do this for you.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ git config --global credential.helper cache
|
$ git config --global credential.helper cache
|
||||||
@ -1435,14 +1435,14 @@ $ git config --global credential.helper cache
|
|||||||
$ git config --global credential.helper 'cache --timeout=3600'
|
$ git config --global credential.helper 'cache --timeout=3600'
|
||||||
# Set the cache to timeout after 1 hour (setting is in seconds)
|
# Set the cache to timeout after 1 hour (setting is in seconds)
|
||||||
```
|
```
|
||||||
Find a credential helper.
|
To find a credential helper:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ git help -a | grep credential
|
$ git help -a | grep credential
|
||||||
# Shows you possible credential helpers
|
# Shows you possible credential helpers
|
||||||
```
|
```
|
||||||
|
|
||||||
For OS specific credential caching.
|
For OS specific credential caching:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ git config --global credential.helper osxkeychain
|
$ git config --global credential.helper osxkeychain
|
||||||
@ -1459,7 +1459,7 @@ $ git config --global credential.helper gnome-keyring
|
|||||||
# Ubuntu and other GNOME-based distros
|
# Ubuntu and other GNOME-based distros
|
||||||
```
|
```
|
||||||
|
|
||||||
More credential helpers can be found for different distributions/OS's
|
More credential helpers can likely be found for different distributions and operating systems.
|
||||||
|
|
||||||
### I want to make Git ignore permissions and filemode changes
|
### I want to make Git ignore permissions and filemode changes
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user