Article list
Author writing

A Collection of Less Commonly Used Git Commands

On this page

Less commonly used, but very useful git commands

Reinstalling the system caused changes to folder ownership on Windows.

The new version of git has added security checks, prompting an unsafe state and preventing further operation.

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

New Computer Saving Account Password Information

git config --global credential.helper store

If the saved information needs to be updated, first clear out the old credentials

git config --system --unset credential.helper
Article reading tools
Author tianlong.xiang License Licensed under CC BY-NC-SA 4.0 Last updated on

Comments will load when you scroll here.