Project specific git configuration

shafikshaon

Mohd. Shafikur Rahman

Posted on February 8, 2020

Project specific git configuration

Sometimes we need to project specific git user configuration.

How we achieve this?
Just run following command in project directory.

git config --local user.name "AuthorName" 
git config --local user.email "AuthorEmail@mail.com" 
Enter fullscreen mode Exit fullscreen mode

Now all commit author will be new name and email for configured project.

That's all!

đź’– đź’Ş đź™… đźš©
shafikshaon
Mohd. Shafikur Rahman

Posted on February 8, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related