
git
文章平均质量分 58
xn_28
这个作者很懒,什么都没留下…
展开
-
【git】git 强制更新
1. git reset --hard git pull --rebase2. git stashhttp://www.cnblogs.com/craftor/archive/2012/11/04/2754149.htmlhttp://blog.chinaunix.net/uid-25871104-id-3419159.html原创 2016-02-22 00:44:13 · 619 阅读 · 0 评论 -
【转】Git图形化界面客户端大汇总
题外话:自用SourceTree (下文第二个),就是注册要翻墙和启动龟速。有好多想体验,比如gitup等,但是急需一个mac。不!是急需一笔钱o(╯□╰)o---------------------------------------------------------------------------------------------------------------转载 2017-03-19 01:23:07 · 542 阅读 · 0 评论 -
【git】git分支branch和标签tag之增删改查
参考链接: http://zengrong.net/post/1746.htm http://rogerdudler.github.io/git-guide/index.zh.html https://www.zhihu.com/question/28784805/answer/103539899——目录——查看分支标签查看远程新建分支切换推送合并merge删除分支标签删除本地删除转载 2017-03-18 01:12:19 · 2301 阅读 · 0 评论 -
【git】git commit –amend命令修改comment
参考:git命令修改comment当git commit -m “your comment”后,想修改提交后的comment,可以使用git commit –amend命令: 1. git commit –amend,会出现上一次提交时的comment(即vim模式下查看记录); 2. 按Insert键进入编辑模式,改好后Esc,:wq!保存退出 3. git log 查看上一次commit的转载 2017-03-02 22:22:47 · 10244 阅读 · 2 评论 -
【转】github上邀请其他人
传送门:http://blog.youkuaiyun.com/tczzyzymj/article/details/53871763两种方法:Fork,Pull Request邀请Collaborator:进入项目 - Settings - Collaborator输入用户名、完整名字或者email地址当Add Collaborator可以点击的时候,点击就可以邀请在Collaborator注册邮箱里会转载 2017-01-12 22:36:36 · 1739 阅读 · 0 评论 -
【git】git add忽略某些文件的方法
1 对于未入库的文件:http://blog.youkuaiyun.com/wirelessqa/article/details/19548289命令:touch .gitignore 创建.gitignore文件在文件中写入需要忽略的文件(如:*.diff ……具体见链接),或者不遵循忽略原则的特例(文件前加“!”)(注:只对untracked files有效)原创 2014-12-22 15:55:01 · 34031 阅读 · 0 评论 -
【error】git clone: SSL certificate problem: unable to get local issuer certificate
报错:$ git clone https://github.XXX.gitCloning into 'XXX'...fatal: unable to access 'https://github.XXX.git/': SSL certificate problem: unable to get local issuer certificate这里其实是电脑没有安转载 2016-03-14 14:25:44 · 3629 阅读 · 0 评论 -
【git】git push免用户名密码,用公钥
图文链接:http://www.cnblogs.com/qcwblog/p/5709720.html参考链接:http://blog.youkuaiyun.com/xuduorui/article/details/53612587其他方法:http://www.cnblogs.com/ballwql/p/3462104.htmlgit remote -v 返回结果:origin h原创 2017-03-21 02:35:54 · 1867 阅读 · 0 评论