eclipse plug-in uses in egit

     This article was made a little rough, I recommend reading the upgrade version : the Eclipse plug-in egit use - Upgraded

        Use git as a project code management tool is now more and more fire, there are a variety of online articles, blog, discussion, of which the majority of the command line. Use eclipse as a development tool is also a lot of people, eclipse and noted that there is a combination of git plugin, egit official of the eclipse.

        I do not discuss the shift from other code management tools git, do not discuss other IDE steering eclipse, but does not mean that the use of eclipse developed using tortoisegit responsible for matters relating to the management of the code, introduced here only in egit usage eclipse plugin.

First, the agreement

        eclipse demo version used for the Kepler SR1, git services oschina

Second, step

    1, to prepare the code base

        In oschina code hosting providers new code base

        Then copy the address,

        And then view the eclipse git code library clones

 

    2. Create a new project for demonstration, practice can be any project

 

    3, will join the local project code base

        Select git Management

        Select the code base

 

    4, submitted to the central warehouse

        Local submit

        Fill in the description, select the file

        Present the results

        Check on the server

 

    5, tag management

        Also supports the label on git, you can mark the code base more important version, and very convenient to use.

        Fill in the label description information, select code version for the label

        Push tag to a central server

        Select Push label information

        Push results

        Check the server

 

    6, branch management

        git also supports the branch, and is very easy to switch between the various branches of (what is the branch, the branch is doing its own search Ha)

        New version branch

        Branch Name

        本地已经有分支了,并且当前在工作空间打开的代码已经在新分支上了,

        但是现在服务器上还没有,我们需要推送到服务器上

        选取推送分支信息

        要推送的信息

        推送结果

        已经可以看到服务器端已经有新的分支信息了

        在服务器端查看

 

 

三、总结

        本文介绍了使用eclipse自带的egit插件对git代码管理的操作,涵盖了新建托管、推送修改(新托管项目提交)、标签管理、分支管理,使用了大量图片,方便新手学习使用。

 

转载于:https://www.cnblogs.com/Codenewbie/p/3642036.html

Guess you like

Origin blog.csdn.net/weixin_34332905/article/details/93448140