documentation
This commit is contained in:
1 parent
ca3b527c1f
commit
2b3894a37b
1 file changed
+16
@@ -16,3 +16,19 @@ git switch -c <new-branch>
|
|||||||
git checkout -b <new-branch>
|
git checkout -b <new-branch>
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Credentials
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git config --global credential.helper cache
|
||||||
|
|
||||||
|
# Cache for 1 hour
|
||||||
|
git config --global credential.helper "cache --timeout=3600"
|
||||||
|
|
||||||
|
# Cache for 1 day
|
||||||
|
git config --global credential.helper "cache --timeout=86400"
|
||||||
|
|
||||||
|
# Cache for 1 week
|
||||||
|
git config --global credential.helper "cache --timeout=604800"
|
||||||
|
|
||||||
|
```
|
||||||
Reference in new issue
Block a user