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