1. Install the JDK first; (http://www.cnblogs.com/xiaochou/p/install_mint.html comment area)
2. Download and install Smartgit:
Http://www.syntevo.com/smartgit/download?file=smartgit/smartgit-17_0_4.deb
$ sudo dpkg -i <path-to-smartgit-deb-file>
$ sudo apt-get install -f
The Smartgit is installed under the/usr/share/path, and the./smartgit can be started.
3. Create ~/.smartgit/smartgit.vmoptions and add the line (and adding the correct path): jre=/path/to/jre
This step is to allow smartgit to start in the Quick Launch bar;
4, Smartgit installation of the configuration:
① Select non-commercial users;
Add user name, mailbox, (writes to the. Gitconfig of the Home path)
② using the system SSH, (Smartgit can also, but feel the system faster)
③ add GitHub as a hosting service,
④ using SSH instead of HTTPS;
⑤ Generate API token, do not add skeleton password; (This step gets permission to read and write to the GitHub repository)
⑥ completed.
If the remote repository cannot be clone, the public key may not have been added; Reference: https://git-scm.com/book/zh/v2/%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%B8%8A%E7%9A%84-Git-%E7 %94%9f%e6%88%90-ssh-%e5%85%ac%e9%92%a5
When verifying permissions, the local private key is loaded, and the password (consistent with Ssh-keygen, can be empty) is available.
Ubuntu Installation Smartgit