-2

I am using git bash to for Git credentials on my Windows machine. Since the credentials are added and used automatically, is there a way to add more than one Git profile/credential in Git for Windows?

phd
  • 69,888
  • 11
  • 97
  • 133
Joy
  • 3
  • 3
  • 3
    Possible duplicate of [Multiple github accounts on the same computer?](https://stackoverflow.com/questions/3860112/multiple-github-accounts-on-the-same-computer) – MrProgrammer Oct 31 '19 at 10:30

1 Answers1

0

You can have a config per repo.

For your user info it would be user.name and user.email with no --gobal issued from within the repo folder.

git config user.name "<name>"
git config user.email "<email>"
tymtam
  • 24,269
  • 5
  • 71
  • 101