随笔分类 -  git

git 提交解决冲突
摘要:一:git命令在提交代码前,没有pull拉最新的代码,因此再次提交出现了冲突。 error: You have not concluded your merge (MERGE_HEAD exists).hint: Please, commit your changes before merging. 阅读全文
posted @ 2016-10-18 10:20 qinbb 阅读(54822) 评论(0) 推荐(3)
git将本地仓库推送到远程仓库
摘要:如何将本地仓库推送到公司远程仓库? 1:前提是你本地安装好git。先把远程git仓库克隆到本地 git clone 远程仓库的地址(SSH) 1:前提是你本地安装好git。先把远程git仓库克隆到本地 git clone 远程仓库的地址(SSH) 2: git branch //查看本地分支 3: 阅读全文
posted @ 2016-09-28 15:32 qinbb 阅读(4115) 评论(0) 推荐(0)
github添加ssh key报错Key is invalid. Ensure you've copied the file correctly
摘要:github添加ssh key的时候报错:Key is invalid. Ensure you've copied the file correctly 将秘钥复制粘贴到文本编辑器中,再粘贴复制到 阅读全文
posted @ 2016-08-26 10:03 qinbb 阅读(2805) 评论(2) 推荐(0)