A Summary of Several Less Commonly Used Git Commands

Infrequently used, but very useful commands

Reinstalling the system changes ownership information for all folders

The new version added security checks, prompting a warning that prevents further operation

git config --global --add safe.directory
git config --global --add safe.directory "*"

New computer saves account password information

git config --global credential.helper store

If the saved information needs updating, clear the old records first

git config --system --unset credential.helper
Licensed under CC BY-NC-SA 4.0
Last updated on May 28, 2025 09:47
A financial IT programmer's tinkering and daily life musings
Built with Hugo
Theme Stack designed by Jimmy