How to change git user at terminal?

QuestionsHow to change git user at terminal?
devchandan Staff asked 3 months ago

How to change git user at terminal?
when git_push using other username it is showing in git the different user.

1 Answers
Best Answer
matrix Staff answered 3 months ago

We can use:
$ git config –global user.name “YOUR_NAME”
$ git config –global user.email “YOUR_EMAIL_ID”