项目从svn迁移到git了,顺便学习一下git
目前的开发环境是centos 6.7,比较难过的是git版本还停留在1.7.1
git version 1.7.1
好吧,https://www.kernel.org/pub/software/scm/git/都已经2.7.3了呢,动手升级~
如果只为当前用户安装git,则只需要执行make以及make install就可以将git安装到~/bin/目录下
git命令:
从服务端下载到本地:
git clone http://username:password@git.url
更新:
git pull
提交
git push
安装过程中遇到的问题及解决方法:
/bin/sh: line 1: asciidoc: command not found
安装:
yum install asciidoc
/bin/sh: line 1: xmlto: command not found
安装
yum install xmlto