Reputation: 3076
I have included reference libraries in my Eclipse. How do I make eclipse upload them to my github?
Upvotes: 0
Views: 1197
Reputation: 1324228
Typically, with a java project, you don't upload the libraries (jars, which are binaries) in a Git repo (GitHub or any other hosting service)
You declare those dependencies in a pom.xml
and use Maven (or the Eclipse m2 plugin) to fetch those declared dependencies in your project.
That pom.xml can be added, committed and pushed (it is a simple text file).
Upvotes: 2