Created
July 26, 2020 15:57
-
-
Save KumarManoj-S/3b9bca6c27a655acb32678ed0714259f to your computer and use it in GitHub Desktop.
Change the git user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To change the git user globally, use the --global flag as follows, | |
git config --global user.email "you@example.com" | |
git config --global user.name "Your Name" | |
git config --global user.password "your password" | |
# To change only for a particular repo, do as follows, | |
git config user.email "you@example.com" | |
git config user.name "Your Name" | |
git config user.password "your password" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment