~sircmpwn/sr.ht-discuss

4 4

deleting a branch

Details
Message ID
<4b572f52-3f27-3153-e869-f421f8a4bbdd@smoha.org>
DKIM signature
missing
Download raw message
Hi,

Is there a way to delete a branch of a repo that we don't want to exist 
on the server?


Thanks, Salman
Details
Message ID
<e361e504-8c9b-c30b-f4b9-76b4ecf2ea1d@testrun.org>
In-Reply-To
<4b572f52-3f27-3153-e869-f421f8a4bbdd@smoha.org> (view parent)
DKIM signature
missing
Download raw message
> Is there a way to delete a branch of a repo that we don't want to exist 
> on the server?

git push origin :branch
Details
Message ID
<CCCWDOTLM2TB.QS6B7H6N8GGS@taiga>
In-Reply-To
<4b572f52-3f27-3153-e869-f421f8a4bbdd@smoha.org> (view parent)
DKIM signature
missing
Download raw message
git push origin :branchname
Details
Message ID
<CCCWGY16PYTL.1AKL2NWKJAPR@archlinux-white>
In-Reply-To
<e361e504-8c9b-c30b-f4b9-76b4ecf2ea1d@testrun.org> (view parent)
DKIM signature
missing
Download raw message
On Fri Jun 25, 2021 at 2:09 PM EDT, link2xt wrote:
> > Is there a way to delete a branch of a repo that we don't want to exist 
> > on the server?
>
> git push origin :branch

Alternatively, `git push --delete origin branch`.

---
Sebastian LaVine | https://smlavine.com
Details
Message ID
<7d2172a0-56ed-4f8a-57e7-99fb53d7f24c@smoha.org>
In-Reply-To
<CCCWDOTLM2TB.QS6B7H6N8GGS@taiga> (view parent)
DKIM signature
missing
Download raw message
thanks for the immediate answer.
Reply to thread Export thread (mbox)