All Questions
9 questions
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 ...
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(&...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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[] ...