Git username for repositories

You would have gone through a phase where in you have been committing your code as someone else from your system, use these steps to make sure you don’t have that headache anymore.

Set a Git username:

git config --global user.name "Hemanth Bidare"

Confirm the setting is right

git config --global user.name
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s