摘要: 1、初始化用户提交的用户名、邮箱$ git config --global user.name chenchangqing // 配置用户名$ git config --global user.email chenchangqing@126.com // 配置邮箱 $ g... 阅读全文
posted @ 2015-08-03 17:04 so_tm_what 阅读(1159) 评论(0) 推荐(0) 编辑
摘要: 1、下载Git源码,https://codeload.github.com/git/git/zip/master2、复制2个文件,放在用户目录下$ cd Downloads/git-master/contrib/completion/$ cp git-prompt.sh ~/$ cp git-com... 阅读全文
posted @ 2015-08-03 16:43 so_tm_what 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 1、查看当前是否已经安装Git$ which -a git/usr/bin/git$ git --versiongit version 2.3.2 (Apple Git-55)当前mac已经自带了2.3.2的Git2、如果没有安装,或者安装的版本不符合你需要的版本,前往http://git-scm.... 阅读全文
posted @ 2015-08-03 15:53 so_tm_what 阅读(213) 评论(0) 推荐(0) 编辑