ubuntu 安装 git & smartgit

1. 安装 git

# sudo apt-get update
# sudo apt-get install git

2. 配置

# git config --global user.name "Your Name"
# git config --global user.email "youremail@domain.com"

3. 查看配置

# gitconfig--list

4.  安装 SmartGit

# cd ~/Downloads

# wget http://www.syntevo.com/downloads/smartgit/smartgit-7_0_4.deb

# sudo dpkg -i smartgit-7_0_4.deb

原文地址:https://www.cnblogs.com/alanlvee/p/5152270.html