参考文档 https://help.ubuntu.com/community/Git 选择一个编辑器 export EDITOR=vim 安装Git sudo apt-get -y install git-core gitosis