DEV Community

Mohd. Shafikur Rahman
Mohd. Shafikur Rahman

Posted on

3 2

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!

Top comments (0)

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay