1: Apply git account to create warehouse, get remote warehouse address Https://github.com/****/****.git
2: Enter the project root directory by command CD: ************
3: Install the GIT environment, set environment variables
4: Execute git command git status--View all file status under current project, automatically generate Git folder
5: Execute git command git Add. --Commit all the code in the current folder to the Git local library
6: The first upload requires git config user.email and user.name.
Execute git command
git config user.email ' ********* '
git config user.name ' * * * '
6: Execute git command git commit-m ' v1.0.0 ' to describe the modified content
7: Execute git command git remote add Origin https://github.com/****/****.git--if this is the first time, set the current and which warehouse link, the link address is the address in the first step
8: Execute git command git remote-v view the current linked remote repository address
9: Execute git command git push-u origin master//upload code to remote repository
Git uploads code to remote repository