git clone 地址 这是下拉命令
git config --global credential.helper store 保存密码
git config --system --unset credential.helper 清除错误登陆缓存
git status 查看修改信息
git add 文件路径/文件名
选中更新的文件准备提交到仓库
git add . 提交所有
git add 路径/. 提交该路径下所有文件
git commit -m "信息" 添加修改的说明信息
git push origin head:分支名字 把当前本地分支信息提交到选中的远程仓库分支上面,head表示是当前本地仓库
git checkout origin/远程分支名字 切换远程分支
常用流程:git pull; git status ; git add ; git commit ; git push