One, install Git, visit the following URL to download
https://www.git-scm.com/download/
Or
https://pan.baidu.com/s/19imFBVHA2Yibmw1dyzatDg Password: q650
Second, after installing, find Git Bash, make a brief configuration (right click on the desktop, generally can find)
Three, enter:
git config--global user.name "Hardy"
git config--global user.email "[email protected]"
PS:① underline the place, can replace you want to enter the name and mailbox.
②git is a distributed version control system, so each machine must be tell,--global means that all of the Git repositories on this machine will use this configuration, that is, for the current user, and no, it is valid for the current warehouse.
The ③ user's profile is placed in a hidden file named . gitconfig in the user directory, and the configuration file for the repository is placed in the . Git\config , and can be configured directly in the configuration file, and if you change it, you can delete the file. Configured by command.
④ all version control systems, in fact, can only track changes in text files. such as TXT, Web pages, code, etc., images, videos, etc., can be managed, but cannot track changes.
⑤ for plain text editing, it's much better to use Notepad + + than Notepad that comes with Windows, and set the encoding to:UTF-8 without BOM. The following links can be accessed to download:
Link: Https://pan.baidu.com/s/1NXYvzLJ7CfUPnuu_APm_kQ Password: bfiu
Git Essentials git installation (Windows)