Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » JGIT how to delete remote tag and branch ? thanks(JGIT how to delete remote tag?thanks)
JGIT how to delete remote tag and branch ? thanks [message #1772422] Sat, 09 September 2017 02:38 Go to next message
xu shiyun is currently offline xu shiyunFriend
Messages: 1
Registered: September 2017
Junior Member
now i just can create remote branch and tag,but I can not delete it
Re: JGIT how to delete remote tag and branch ? thanks [message #1774529 is a reply to message #1772422] Mon, 16 October 2017 20:02 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1032
Registered: July 2009
Senior Member
Push using a RefSpec like ":refs/heads/x" to delete a branch "x" and push using a RefSpec like ":refs/tags/x"
in order to delete a tag "x". Note the empty left hand side of these RefSpecs, this means pushing
nothing to something existing in the other repository will delete it. Depending on the git server you are
using this command may be subject to permission control.
Previous Topic:How to configure the JGit client to trust only the stash Certificate signed by root CA
Next Topic:How to retrieve notes using notes for a particular commit
Goto Forum:
  


Current Time: Wed Sep 26 01:42:52 GMT 2018

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

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

Back to the top