Use git in eclipse to upload clone code from github

1. Upload the project engineering code from eclipse to the warehouse

1. Select the parent project you want to upload, right-click Team -> Share Project, and the following window will pop up, select Git:

2. Right-click the parent project code Team -> Add To Index, then Team -> Commit:

The code has been submitted to the local warehouse

3. Push the code to the central warehouse Team -> Push Branch'master':

The following box pops up to indicate that the upload was successful:

 

2. Clone the project engineering code from the warehouse to eclipse

1. Click Window -> Show View on the menu bar:

 

 

右键 Working Tree -> Import Project :

Successfully cloned:

 

 

Guess you like

Origin blog.csdn.net/weixin_42629433/article/details/83478352