记录下每次都要忘记

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