git 杂谈
无才顽石
life for coding,non coding for life
展开
-
git 使用代理大全
HTTP 代理 直接配置 http_proxy 环境变量 git config http.proxy http.proxy Override the HTTP proxy, normally configured using the http_proxy, https_proxy, and all_proxy environme原创 2014-05-26 10:12:53 · 10881 阅读 · 0 评论 -
git 常用操作集锦
创建仓库 新建普通仓库: jxdong@ubuntu-server:~/workspace/git$ git init Reinitialized existing Git repository in /home/jxdong/workspace/git/.git/ 新建 bare 仓库: jxdong@ubuntu-server:~/workspace/git.git原创 2014-05-31 09:18:21 · 13019 阅读 · 1 评论 -
编写良好的 git 提交信息
编写一个良好的 git 提交信息 提交信息 我们作一次提交,都会提交相关的修改信息,一般这些信息当时都会仔细考虑留下应该留下的那些重要信息,比如为什么需要这次提交,提交解决什么问题等。 而且我们需要好好组织这些信息,一边以后查看,因为这些跟代码一样重要,他们是历史,就像课本一样,一旦留下错误的信息或者难以理解的信息,将会对 后来者,产生非常多的麻烦。 提交信息规范 一般来说,提交信息没原创 2014-11-19 22:28:41 · 2688 阅读 · 0 评论 -
git 错误 fatal: Unable to find remote helper for 'https'
user1@ubuntu:~/tmp$ git clone https://github.com/user1/repo.git repo.git Cloning into 'repo.git'... warning: templates not found /tmpxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx原创 2015-11-18 15:38:25 · 4081 阅读 · 0 评论