Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » jgit Checkout(Git Checkout doesn't work for me)
jgit Checkout [message #1801918] Tue, 29 January 2019 14:12 Go to next message
Abhijit Valvekar is currently offline Abhijit ValvekarFriend
Messages: 1
Registered: January 2019
Junior Member
I am trying to checkout the branch but its failing all the time.
Can you please help me out to solve this?

find my below code snippet -

doBranchCheckOut(git,destinationBranch);
ObjectId comidId = ObjectId.fromString(commitID);
RevWalk rw = new RevWalk(repo);
RevCommit commit = rw.parseCommit(comidId);
CherryPickResult result = git.cherryPick().include(commit).call();

Thanks
Abhiit
Re: jgit Checkout [message #1801958 is a reply to message #1801918] Tue, 29 January 2019 22:33 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3626
Registered: July 2009
Senior Member

You might want to ask that in the eGit/jGit forum at https://www.eclipse.org/forums/index.php/f/48/ .

Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:can't install
Next Topic:Debug toolbar is greyed out
Goto Forum:
  


Current Time: Mon Mar 30 23:30:14 GMT 2020

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

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

Back to the top