Simple commands to work with GIT

To check the GIT version –

git --version

How to show your Git username

There are at least three ways to show your Git username:

The git config command

$ git config user.name
Tarique Jamal

The git config –list command

git config –list

Looking in your Git configuration file

Finally, you can also see your Git username in the Git configuration file in your HOME directory on Unix systems, while in windows it is situated at C:\Users\<username>\.gitconfig

 

8700cookie-checkSimple commands to work with GIT

Add a Comment

Your email address will not be published. Required fields are marked *