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