Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
58 views

JGit allows Push to update checked out branch

When I try to PUSH into checked out branch on remote I am getting an error with GIT BASH and success when using JGIT. As a result I end up with successful PUSH (I can see commit ) and old version of ...
Max Shclover's user avatar
1 vote
0 answers
651 views

Using JGIT to push changes to the remote Github repository

I'm new to git and I am trying to push my committed changes to the github repository. Here is the code snippet: Git git = Git.init().setDirectory(localPath).call(); git.add().addFilepattern(&...
Aditya Harsh's user avatar
2 votes
0 answers
201 views

Java code using JGit ignoring the set credentials in push operation

I am using JGit library in my java program to push two programatically updated files to bitbucket. When i run this program locally then it pushes the files correctly to remote however with my personal ...
nilesh mahadik's user avatar
2 votes
1 answer
2k views

How to create and push tags with JGit

I am using JGit to clone repository, make some changes in file, commit, tag it, and then push it to remote repository. I have written code using JGit, which will clone repository, make some change in ...
user3750958's user avatar
1 vote
1 answer
284 views

JGIT Push History on local repo wont get updated

I have an issue where i push my commits to remote repository. Basically remote repo gets my commits but the local repo still shows that im ahead of remote branch with x amount of commit. Note: I ...
Szilágyi István's user avatar
0 votes
0 answers
89 views

Problems pushing large commit using JGit

I have a Java application that syncs two Git repositories. This works fine 90% of the time, but when a lot of changes happen, my program just commits and doesn't push. I am using Runtime.exec to ...
Heliox's user avatar
  • 11
1 vote
1 answer
2k views

EGit Pull, Push, Merge, not working

After pulling updates to a project I am working on with some partners, Eclipse Git is not allowing me to continue pushing, pulling or merging. When I last pulled the updates, there were conflicts in ...
CodyBugstein's user avatar
  • 23.2k
3 votes
1 answer
4k views

JGit: Push to specific branch

I have two branches on github: master and development. I want to push a newly created file to the development branch. String user = "user"; String password = "password"; String localPath ...
hansi's user avatar
  • 2,298
0 votes
1 answer
2k views

jGit push produces exception

I am trying to use jGit in my java project. The version I am using is "2.0.0.201206130900-r" and my OS is Windows. everything worked fine until i tried to do a push: public static void main(String[] ...
Johannes Beutel's user avatar