How to config Git first time in the machine
I think you know what is Git & GitHub. Git serves a big role in any developer’s life. There is the first step of usage of Git and GitHub.
There are some basic steps which are given below:-
Open a terminal/shell and type:
$ git config --global user.name "Your name here"
$ git config --global user.email "your_email@example.com"
“Your name here” means which name you want to show in contributor.
“your_email@example.com” means which email is registered on GitHub.
Note:- (Don’t type the $
; that just indicates that you’re doing this at the command line.)
- This will enable colored output in the terminal
$ git config --global color.ui true
That’s it for this time! I hope you enjoyed this post. As always, I welcome questions, notes, comments and requests for posts on topics you’d like to read. See you next time! Happy Coding !!!!!