记录下每次都要忘记
init初始
git init
与远程仓库连接
git remote add origin https://gitaddress.com/.git
添加文件
git add .
查看仓库状态
git status
查看分支
git branch
提交commit
`git commit -m "first commit"
提交代码
git push origin master
记录下每次都要忘记
git init
git remote add origin https://gitaddress.com/.git
git add .
git status
git branch
`git commit -m "first commit"
git push origin master
已有 0 条评论