Cloud code and configuration git MyEclipse

1.MyEclipse configuration egit

  Myeclipse find the installation directory of the installation, find readme_eclipse.html file, open, view the eclipse version number in the directory myeclipse \ readme \ under. as the picture shows

 

  Open the URL http://wiki.eclipse.org/EGit/FAQ#Where_can_I_find_older_releases_of_EGit.3F, corresponding to find the current version of the eclipse egit version, shown in FIG.

 

 The version at the corresponding egit egit compressed plug shown in FIG.

 

 After the plug-in archive decompression, the features, plugins folder into dropings folder under MyEclipse directory can restart MyEclipse.

2. Create a local repository, submit code to a local warehouse.

  Create a MyEclipse project - "click on the project -" Choose Git - "next--" set up a local warehouse location need to store the code - "finished, as shown.

 

 

 

 

 

 3. Create a cloud account code, create a warehouse, local warehouse push code to cloud storage.

 

 

 

 4. midway error encountered.

  ① remote access Git repository via https, if the server's SSL certificate is not signed by a third party organization, there will be can not open git-upload-pack this problem, we need to ignore certificate errors is limited to a specific set of warehouses. And then click Open Window ---> Preferences ---> Team ---> Git ---> User settings, click the Add Entry ..., set http.sslVerify, set up after the click "OK", as shown.

 

 

 ②出现git: not authorized未授权错误。一般情况下是码云账户密码搞错了。登录码云官网https://gitee.com/验证账户密码,打开Git Repositories 视图,打开你的项目—>Remotes—>origin —>选中你git的url—>右击—>Change Credentials… —>输入你的用户名密码,如图所示。

Guess you like

Origin www.cnblogs.com/hwts/p/12102568.html