2023-01-14 15:54:44 +00:00
|
|
|
## git
|
|
|
|
|
|
|
|
### git file permission ignore
|
2023-03-11 13:17:21 +00:00
|
|
|
`git config core.fileMode false`
|
|
|
|
|
|
|
|
### cheat sheet
|
|
|
|
find and clean up repositories recursvely
|
2023-07-04 07:19:52 +00:00
|
|
|
`find . -type d -name '.git' -prune -execdir bash -c "pwd; git reflog expire --all --expire=now; git gc --aggressive --prune=now" \;`
|
|
|
|
|
|
|
|
### gnome key store
|
|
|
|
to change/activate git credential storing within the gnome key store:
|
|
|
|
`git config --global credential.helper libsecret`
|