Git uploads local projects to gitee remote warehouse

1. Enter the root directory of the project folder

2. Shift + right mouse button to open powershell

 

3. If there is no .git folder in the project root directory, first use "git init" to initialize (if there is, ignore this step)

4. Enter the command "git status" and press Enter to view the file status

The red in the above picture means that it needs to be submitted

5. Use the command "git add ." to add all folders to the temporary storage area

6. Use the command "git commit -m "Quotation marks are the commit log"" to commit once locally

 7. View the project status "git status" again

 8. Copy the address submitted on the gitee web page

Enter to execute

9. Commit with the command " git push -u origin "master" "

10. Go back to gitee to check the content submitted by the warehouse, and the submission is successful

 

 

 

Guess you like

Origin blog.csdn.net/qq_46103732/article/details/124129226