1, git of 3 levels config file
3-level .git file locations are as follows:
- H:\code\hmf-gerrit\giga-hmf.git\config
- C:\Users\10170364.gitconfig
- C:\ProgramData\Git\config
2, the initial installation git configure the user name and mailbox
git support https and two transport protocols git , github share will link two protocols available:
git using https protocol, each pull, push will be prompted to enter a password, use git protocol, then use the ssh key, so avoid the trouble of every lost password
A comprehensive understanding of Git