Skip to main content



      Home
Home » Newcomers » Newcomers » jgit(how to push the java project into github using jgit)
jgit [message #1829271] Tue, 30 June 2020 02:18 Go to next message
Eclipse UserFriend
I'm trying to build a Java application that allows users to push their project to github by creating a new repository. I was able to do this from the command-line , using the following commands:

git init
<create some files>
git add .
git commit
git remote add <remote repository name> <remote repository URI>
git push -u <remote repository name> master
This allowed me to create, add and commit content to my local repository and push contents to the remote repository. I am now trying to do the same thing in my Java code, using JGit. Also i need to create a new repository in github.
Re: jgit [message #1829280 is a reply to message #1829271] Tue, 30 June 2020 08:07 Go to previous message
Eclipse UserFriend
Did you read their documentation?

https://www.eclipse.org/jgit/documentation/
Previous Topic:PDE with Maven
Next Topic:How to remove Donate tab?
Goto Forum:
  


Current Time: Sun Jul 13 00:34:51 EDT 2025

Powered by FUDForum. Page generated in 0.28464 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top