Multiple git config

Global git config at ~/.gitconfig

[user]
name = Nhan Cao
email = nhancv92@gmail.com

Create a config file if it does not exist.

To assume you need all commit in the specific folder tree use another author.

[user]
name = Eric Cao
email = ericc@gmail.com

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store