documentation

This commit is contained in:
2024-02-18 23:08:27 +00:00
parent ca3b527c1f
commit 2b3894a37b

View File

@@ -16,3 +16,19 @@ git switch -c <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"
```