美文网首页
git 基础命令

git 基础命令

作者: 延飞 | 来源:发表于2020-08-26 14:11 被阅读0次

    拷贝项目: git clone (仓库地址)

    创建分支: git branch <name>

    创建并进入分支: git checkout -b <name>

    切换分支: git checkout <name>

    查看状态: git status

    添加所有文件: git add.

    提交: git commit -m '备注信息'

    拉取: git pull

    推送: git push

    查看分支: git branch -- list  (包含远程) git branch -a

    相关文章

      网友评论

          本文标题:git 基础命令

          本文链接:https://www.haomeiwen.com/subject/vbldoctx.html