Since the strength of GitHub has been recognized by developers, more and more developers have chosen to use GitHub instead of SVN for development. I am no exception. I recently started to study how to use GitHub to host my code. Next I will introduce how to build a GitHub development environment under Eclipse.
1. Create your own GitHub account. The official website address is here and we will not discuss it much.
2. Install the EGIT component in Eclipse. Install EGIT components in two ways: Install New Software in Eclipse, and Install it in Marketplace in Eclipse. The second method is used as an example to describe how to install EGIT.
Search for "EGIT" in Marketplace and the page shown is displayed. Select "EGIT-Git Team Provider" and Install it.
After EGIT is successfully installed, select Import in Eclipse resource manager. If the Git option is displayed in the Import dialog box, EGIT is successfully installed.
3. configure system environment variables
In System Properties, locate the environment variable and add the HOME variable. The value is % USERPROFILE %. As shown in:
4. Create a GitHub library, and create your own GitHub library and HelloBoy on the GitHub website. As shown in: