Configuring Github in Eclipse

1

Can anyone help me with the configuration to integrate the Eclipse IDE with Github, so that I can upload my projects in development, and when necessary to do the import?

I tried, but without success, if anyone has knowledge and can help me, I thank you!

I tried to follow the steps that you gave me, but I came up with a question, for example I have a working directory C: \ Users \ Diego \ workspace, and I want to upload the project to Github HelloWorld I need to clone my repository in which folder? Do I need to create a new folder and save a new project in it? I can not understand very well, I have never set up Git with Github, please help me.

    
asked by anonymous 02.06.2017 / 03:31

1 answer

3

The configuration and use of git along with github and eclipse-independent. To download the git client you can access the:      link If you want to download a project from a github repository into a run folder

git init 
git remote add origin https://github.com/repositorio/projeto.git
git fetch origin
git merge origin/master

Then just need to import the project into eclipse and work normally. After making some changes to upload this change in the repository run:

git add -A
git commit -m "descrição do das mudanças do commit"
git push origin master
    
02.06.2017 / 04:15