How to change git username & password after you change the git password.

MAC:

$ git config –global user.name “Bob”$ git config –global user.email “[email protected]”Change the user name password in keychain

Windows:

  1. In your terminal, navigate to the repo you want to make the changes in.
  2. Execute git config –list to check current username & email in your local repo.
  3. Change username & email as desired. Make it a global change or specific to the local repo: git config [–global] user.name “Full Name”git config [–global] user.email “[email protected]
  4. Per repo basis you could also edit .git/config manually instead.

After this try to do Ctrl+T in your android studio it should as you password prompt.

9

No Responses

Write a response