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: 4435
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: Fri Apr 26 03:56:44 GMT 2024

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

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

Back to the top