git connect remote warehouse

1. Initialize git

git init

2. Set the remote address

git remote add origin address

3. Local branch pulls remote master

git pull origin master

4、git add  .

5、git commit -m

6. The local current branch is associated with the remote branch

git push --set-upstream origin master

Direct git push next time

Guess you like

Origin blog.csdn.net/qq_41999592/article/details/105119696