Download the git command-line client from the website: https://git-scm.com/downloads
> git config --global credential.helper wincred
> git config --global credential.helper cache
The following sets your name and email address as they will appear in commit logs.
> git config --global user.name "Jane Doe" > git config --global user.email firstname.lastname@example.org
You can set up short aliases for common git commands, for example:
> git config --global alias.co checkout
The above would allow you to write
git co <branch> instead of
git checkout <branch>.
> git config push.default simple
> git config --list
Hackification.io is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. I may earn a small commission for my endorsement, recommendation, testimonial, and/or link to any products or services from this website.