Git has initialized the local project

1. Initialize the warehouse

git init

2.remote

git remote add origin 仓库地址

3. pulling branch from a remote master branch and combined with the local master branch

git pull origin master:master

4. Submit the local branches to remote branches

git push -u origin master

5. Add upload and submit an existing project

git add -A
git commit -m ''
git push --set-upstream origin master

Guess you like

Origin www.cnblogs.com/meetqy/p/11803390.html