12 lines
405 B
Markdown
12 lines
405 B
Markdown
## git
|
|
|
|
### git file permission ignore
|
|
`git config core.fileMode false`
|
|
|
|
### cheat sheet
|
|
find and clean up repositories recursvely
|
|
`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` |