git clone多分支
git clone 项目所有分支方法_git clone 所有分支-CSDN博客
git递交必须要有commit内容,否则递交不能成功
________________ git命令集——————————
git checkout 分支名 //切换分支
git checkout -b master_new // 创建新分支
git branch //列出所有本地分支
git branch –a //列出分支,包括远程未拉取分支
做更新递交
Git diff //查看修改内容
Git add * // step0
Git commit // step1
Git push origin //当前目录push到远程 step2
git push 报 HTTP Basic: Access denied 错误
https://www.cnblogs.com/lydiawork/p/10287797.html
第三种方法
远程分支的同步操作:
remote: Support for password authentication was removed
remote: Support for password authentication was removed-CSDN博客
git命令大全
https://git-scm.com/book/zh/v2/Git-%E5%9F%BA%E7%A1%80-%E8%8E%B7%E5%8F%96-Git-%E4%BB%93%E5%BA%93
同步远程分支
Git fetch
撤销本地最新的一条commit
git reset HEAD~
Commit删除