First, you must register an account in www.github.com.
Install the egit plug-in eclipse. The latest version of eclipse already comes with GIT version control.
Create a new project on GitHub: bms_java
After confirmation
Select the included files in the repository. Select readme.
Effect after adding
Under eclipse, select window-perferences, select Network Connections-SSH2 in general options, select the key management tab, and select general RSA key, as shown in: (Note that eclipse is restarted)
Add the generated SSH key to the GitHub SSH key
Create a new project BMS in eclipse and add an index. jsp file
Select BMS and select team-share project
Then select create to create a local repository.
Select BMS, select team/commit in sequence, and submit the project to the local repository.
Under the GIT Resource Directory, select team-fetch to retrieve the directories on the GitHub network.
Continue to the GIT Resource Directory and select team-merge. Because only after the two are synchronized can the local code be submitted to the network.
Select the BMS project, select team-remote-push, and upload the project to GitHub.
After uploading, we found that the data has been updated in GitHub.