git
commonslok
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
push到github时,每次都要输入用户名和密码的问题
在github.com上 建立了一个小项目,可是在每次push 的时候,都要输入用户名和密码,很是麻烦原因是使用了https方式 push在termail里边 输入 git remote -v 可以看到形如一下的返回结果origin https://github.com/yuquan0821/demo.git (fetch)origin https://转载 2015-12-28 16:33:08 · 2180 阅读 · 0 评论 -
git安装使用 (一)
在linux上安装git,首先输入git查看系统是否已经安装git。$ gitThe program 'git' is currently not installed. You can install it by typing:sudo apt-get install git当然,你在git官网上下载一个再安装也行http://git-scm.com/在mac上安装原创 2015-12-25 14:08:07 · 976 阅读 · 1 评论 -
git的常用命令(二)
git的常用命令其实也挺多的 : ) 从工作区working directory提交文件到暂存区stage的时候用的命令是$ git add LICENSE如果只有一个文件就写一句代码就能提交了,如果是多个文件LICENSE1,LICENSE2,LICENSE3那应该怎么方便快捷的提交文件到暂存区stage呢?这将用到git add的参数,当然,git add可以提交一个目录里的文件。原创 2015-12-25 15:50:43 · 870 阅读 · 0 评论 -
You have not concluded your merge (MERGE_HEAD exists) git拉取失败
You have not concluded your merge (MERGE_HEAD exists) git拉取失败今天获取git线上仓库代码报了这个错误:zhangzhi@moke:~/code/ktsg-api$ git pullYou have not concluded your merge (MERGE_HEAD exists).Please, commit y转载 2016-02-23 10:47:48 · 18674 阅读 · 0 评论
分享