directory (?) [+]
- 1 git plugin installation
- 11 Download Plugins
- 2 git commit code
- 21 git-built local repositories
- First Kind
- The second Kind
- After the project has created a local warehouse
- 22 Submitting a local warehouse
- 23 Submitting a remote repository
- 3 git download code
1. Git plug-in installation 1.1 download plugin
First open Eclipse, and then click Help>install New software>add.
Name:egit
location:http://download.eclipse.org/egit/updates
Figure 1
Figure 2 tick the plugin, then all the way next, and finally restart Eclipse.
2. Git commit code 2.1 build Git's local repository:The first type:
The first step
The second step here is to create a git local repository (if not)
The second type:
The first step
The second step of this kind of warehouse default in the project file, finally click Finish
Errors encountered while building the library:
Eclipse.jgit.api.errors.JGitInternalException:User config file
C:\Users\Administrator.gitconfig invalid
Org.eclipse.jgit.errors.ConfigInvalidException:Cannot Read File
C:\Users\Administrator.gitconfig
Cause: The configuration file may have been corrupted and could not be read because of an error in configuring the Git multiple times.
Workaround: C:\Users\Administrator.gitconfig Delete files based on this path and restart eclipse.
After the project has created a local warehouse
Will there be > on the project after creating the local warehouse ? The symbol description has not yet been submitted to the local warehouse.
2.2 Submit the Local repository:
The first step
Step Two
2.3 Submit the Remote repository:
The remote warehouse can be submitted only if the local warehouse is submitted
The first step
Step Two
Step Three
>
Fourth Step
3. Git download code
The first step
Step Two
Step Three
Fourth Step
Fifth Step Select project Path
The sixth step has been next until the completion.
Eclipse Integrated git plugin and use