Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Using jgit for help(How to implement "push origin HEAD:refs/for/master " in jgit?)
Using jgit for help [message #1848931] Fri, 24 December 2021 03:16 Go to next message
Garrett Garrett is currently offline Garrett GarrettFriend
Messages: 1
Registered: December 2021
Junior Member
How to implement "push origin HEAD:refs/for/master " in jgit?
thanks;

[Updated on: Fri, 24 December 2021 05:45]

Report message to a moderator

Re: Using jgit for help [message #1849001 is a reply to message #1848931] Wed, 29 December 2021 00:38 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1214
Registered: July 2009
Senior Member
see tests in PushCommandTest [1] and adapt parameters as required

[1] https://git.eclipse.org/r/plugins/gitiles/jgit/jgit/+/refs/heads/master/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/PushCommandTest.java
Previous Topic:all github/gitlab java projects become "NO_HEAD" after upgrade git plugin
Next Topic:Unable to clone repo in ssh or https in Eclipse(2021-12)
Goto Forum:
  


Current Time: Wed Nov 30 15:29:11 GMT 2022

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

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

Back to the top