Is there a way to create a repository in GitHub with an already developed project?

3

My problem is that I have a project on GitHub and this project is being developed by me and two other people. However, all of a sudden, I really do not know what happened, my project that was all organized, stopped allowing you to commit, push and pull directly from Eclipse. I tried to put it in the repository again, I tried to clone it, but git said that part of the project was already on the computer and only allowed me to include the basic classes (which are in my old repository). I do not know what to do. For this, I use Git for Windows. However, my colleagues have been committing code and even updating code I can not seem to get the same results. For example, in the GUI, when I run the program, I get different results than what is expected (that's what my colleagues get) as the screen defacement, it appears in a different way than in Windows Builder.

So, I wanted to create a new repository, but to "start" with my project code, just by cloning it and starting to eat it, because it's very complicated, how can I proceed?

When I try to import the project I downloaded from the other repository through Eclipse using the import > git > projects from github > existing local repository > repository name > goes to the part of the image. I can not complete the action (I already did the repository). But this image appears.

It does not allow you to make the whole project, just the basic classes. Who knows how to help me about this and even better, remaining in the same repository, I really appreciate it.

    
asked by anonymous 29.06.2015 / 21:43

1 answer

1

You can add a new origin in your git. To do this, use the command git add origin remotenovo url-do-seu-novo-repositorio .

Then just commit and push to the new repository:

git push -u remotenovo master

Ready.

    
30.06.2015 / 01:33