Ubuntu Installation Smartgit

Source: Internet
Author: User
Tags html comment

1. Install the JDK first; (http://www.cnblogs.com/xiaochou/p/install_mint.html comment area)

2. Download and install Smartgit:


$ 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.