git提交代码

1: git init
2: git add .
3: git commit -a -m "firstcommit"
4: git remote add origin 项目地址
5: git pull origin master
6: git push origin master
7: git pull--rebase origin master

你可能感兴趣的:(git提交代码)