Git Linux 📄 copy Persist your git credentials on Linux. git config --global credential.helper store
Git 📄 copy Turn off page output (globally) for git commands (e.g. "git branch"). git config --global pager.branch false
Git Linux 📄 copy From time to time I clean up all the local branches that have assembled over time in a Git repository. git branch | grep -v "main" | xargs git branch -D
Git 📄 copy Clear your git credentials (e.g. after a password change). git config --unset user.password