Eclipse push remote Branch to Gitbucket

Source: Internet
Author: User

One


I do not have to import jdk and third - party dependencies, but to share the source code , The purpose is to facilitate later conversion into maven projects.


Second, the operation

1.Share a project(Share Project)

Select GIT to click Next

2.Project initialization(init)


Box Select Use or Create repository in ... .

Click the Create Repository button

After you click Finish , the . Git Word will appear and click Finish.

folder on the display?

3.Add Files (Add)

Click src

Right-click Team àAdd to index

Note: If you want to upload the jar package, you need to select a different directory. But the premise is that everyone's development environment must be consistent , including the JDK version . the path to the jar package. So here I just give src under the source , share to the team of other people.

ADD Index after file display + number

4.Submit(Commit)

 

Team Commit

After clicking Commit


Note:Author Displays the user.name and user.email you have configured.

Click commit to commit to local. At this point the file status becomes cylindrical, which means that it has been committed locally.

 

5.Remote push(Push)



Right-click Current Project Team--push Branch

Default is Origin

Okay, click Next.

Default to Master remote branch push

Continue Next

Click Finish

"Note" If this is a native operation , you can save the password


Third, the server-side set up the project 3.1Build a project


at this point , you should have established the relevant project on the gitbucket .
as

Remember URL path
click Copy URL path

3.2Add User access rights


Put myself in a git repository.

3.3Viewing remote branches for push success


Refresh the git project again. Submit Success !

At this point , your project is successfully uploaded to master to complete the initialization of the project.

Note : remote branch , default is Origin master

Eclipse push remote Branch to Gitbucket

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.