[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Git help: amending a substandard commit message in savannah.
From: |
David Caldwell |
Subject: |
Re: Git help: amending a substandard commit message in savannah. |
Date: |
Mon, 23 Nov 2015 03:01:02 -0800 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:42.0) Gecko/20100101 Thunderbird/42.0 |
On 11/23/15 2:51 AM, Alan Mackenzie wrote:
> By the way, what happens to abandoned branches? Does anybody do a
> periodic scan of branches to get rid of them? They surely don't go away
> of their own accord. If they aren't garbage collected, then the
> repository's list of branches will steadily fill up with useless cruft.
I'm not sure about Savannah, but generally with git you can delete
remote branches with this syntax:
git push origin :branch_to_be_deleted
If that is allowed, then deleting that branch and then pushing it back
with your amended change would effectively be the same as `git push -f`.
-David
smime.p7s
Description: S/MIME Cryptographic Signature