Last active
November 24, 2020 09:11
-
-
Save kirandash/9ae15dd8b5a7c28e52f5af72b5ed51df to your computer and use it in GitHub Desktop.
git multiple user names for the different projects within the same system
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
https://stackoverflow.com/questions/9063176/git-multiple-user-names-for-the-different-projects-within-the-same-system | |
Just use --local instead of --global. In fact, local is the default so you can just do | |
git config user.email [email protected] | |
git config user.name "whatf hobbyist" | |
in one repo, and | |
git config user.email [email protected] | |
git config user.name "whatf at work" | |
in another repo | |
How do I delete a Git branch locally and remotely? | |
git push -d <remote_name> <branch_name> | |
git branch -d <branch_name> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment