The function of git is version control
In the project, the company basically hosts the code in `Code City` coding.net or `Code Cloud` gitee, of course, there are also hosted in github, but because github is foreign, the operation is inevitably inconvenient (main language No way), and private projects are charged, so generally use code cloud or code city to host the code
Common operations in git:
1. Cloning
git clone
2. Add files to the to-be-committed area
git add
3. Add files to the to-be-pushed area
git commit -m "fill in the commit description here"
4. Submit the code of the area to be pushed to the remote
git push origin master:nanle
Note: Submit the local master branch code to the remote nanle branch
Here, I still prefer and recommend coding.net. After all, its visual operation is really great