Setting up Github in Eclipse

Asked

Viewed 2,956 times

1

Someone could help me set up to integrate Eclipse IDE with Github, then allow me to move up my projects in development, and when necessary to import?

I tried, but without success, if anyone knows and can help me I thank!

I tried to follow the steps you gave me, but a question arose me, for example I have a working directory C: Users Diego Workspace, and I want to move up the project on 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 this one? I’m not getting it right, I’ve never set up Git with Github, please help me. inserir a descrição da imagem aqui

1 answer

3


The configuration and use of git along with github and eclipse independent. To download the git client you can access the: https://git-scm.com/download/win If you want to download a project from a github repository within a run folder

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

Then you just need to import the project into eclipse and work normally.After making some change to move this change up the repository run:

git add -A
git commit -m "descrição do das mudanças do commit"
git push origin master
  • Hello Mark. I will perform as per the steps you described, any questions write again.

  • Hello Marcos. When installing Git I need to select which option [ ] Use Git from Gir Bash Only, [ ] Use Git from the Window Command Prompt, [ ] Use Git and optional Unix tools from the Windows Command Prompt? Can you help me?

  • 1

    Use Git from the Window Command Prompt. I’ll give you a sample video: https://www.youtube.com/watch?v=0elqVtkicJE

  • Hello Marcos. I will check, thank you very much!

  • Hello Marcos. I couldn’t understand what the Git functionality is like, I visualized the Video, but I couldn’t understand it, I need to understand the structure.

  • 1

    Segment this tutorial lhttp://rogerdudler.github.io/git-guide/index.pt_BR.html

  • Hello Mark. I will check! Thanks again.

  • Hello Mark. I supplemented my question.

Show 3 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.