Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using GitHub with Eclipse

This is probably a stupid question but I have downloaded EGit, created in GitHub, and I am able to commit/push using the command line. However, I couldn't figure out how to commit/push files to a specific repo in GitHub. I can do Team->share->create git repo etc. but can't seem to push anything. How am I supposed to link a java project with a repo on GitHub(or generally any Git repo)?

like image 371
Cemre Mengü Avatar asked Oct 10 '22 02:10

Cemre Mengü


1 Answers

You can first create the repo on Github, then clone it with EGit and then push to it like to any other repository. Of course you first need to setup the encryption keys correctly.

like image 151
Niklas B. Avatar answered Oct 21 '22 21:10

Niklas B.