About Git usage records

I built the Git library of the project by myself. Since it was built on windows, I used gogs

Common operations about Git are recorded here for easy reference

1. First create a project on git

Such as: http://192.168.3.106:3000/cheny866/sdk_doc.git

2. Go to the project directory and execute the following git command

git init 

git pull http://192.168.3.106:3000/cheny866/sdk_doc.git

git add .

git commit -m "first commit"

git remote add origin  http://192.168.3.106:3000/cheny866/sdk_doc.git (required for the first submission, not required for subsequent updates)

git push -u origin master

 

Guess you like

Origin blog.csdn.net/chenya866/article/details/103507498