Linux --- common git commands and get and upload code on github
This article is an entry to git and a personal study note. The level of understanding involved will not be too high, but it will also include the relevant commands we use everyday as much as possible. 1: Environment Description: System: Centos 7 Git version 1.8.3.1 ssh-6.4p1 Gitbub: https://github.com/
2: git operation [initialize git configuration --- create repository --- add/delete files --- submit updates --- view logs] 2.1: Initialize git configuration $ git config -- global user. name "Your name" $ git config -- global user. email "Your email" is configured with the name and email address of the person who uses the git repository (for personal understanding, this step sets the user information. As to whether it is very important, you only need to know that it will be used when submitting code, and the requirements for the above settings are not required for submitting code. If the country does not set the above information, git will submit it in simple mode.