Skip to main content



      Home
Home » Newcomers » Newcomers » jgit Checkout(Git Checkout doesn't work for me)
jgit Checkout [message #1801918] Tue, 29 January 2019 09:12 Go to next message
Eclipse UserFriend
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 17:33 Go to previous message
Eclipse UserFriend
You might want to ask that in the eGit/jGit forum at https://www.eclipse.org/forums/index.php/f/48/ .
Previous Topic:can't install
Next Topic:Debug toolbar is greyed out
Goto Forum:
  


Current Time: Thu Jul 03 20:26:46 EDT 2025

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

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

Back to the top