Skip to content

Instantly share code, notes, and snippets.

@sanrandry
Last active November 1, 2022 09:10
Show Gist options
  • Save sanrandry/fc7a6ff0e77330b5393fd195a53f457d to your computer and use it in GitHub Desktop.
Save sanrandry/fc7a6ff0e77330b5393fd195a53f457d to your computer and use it in GitHub Desktop.
change local folder git config

Go to the folder you want to change the git config

cd YourFlolder

If you need to change the name

git config user.name "Your name"

If you need to change the email

git config user.email "[email protected]"

Then you can verify it with the command

cat .git/config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment