1、创建分支,并跳转到该分支。 git checkout -b xxxx 2、跳转到已有分支 git checkout xxxx 3、提交文件的必要步骤: 说明:现在你要提交你本地的dev分支到远端dev分支上。 git pull origin dev (##拉取远端的dev分支文件。此步骤为必备步骤) git add xxx ...
Category Archives: Git
Git基本常用命令
2017.12.18 , Git, Linux , 暂无评论 2157个游客飘过Git的基本操作指令
2017.05.5 , Git, Linux , 暂无评论 3876个游客飘过1.1.0git创建密钥 $ ssh-keygen -t rsa //创建密钥 $ cat ~/.ssh/id_rsa.pub //查看密钥 git clone ssh://git@192.168.199.154:52113/yunda/router.git //克隆 git add aa.php //添加 touch ceshi.php 创建...