savannah-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-cvs] [UsingGit] (edit) removing a branch


From: Beuc
Subject: [Savannah-cvs] [UsingGit] (edit) removing a branch
Date: Sun, 06 Dec 2009 19:17:20 +0000

++added:
Removing a branch
=================

We don't really like this, but there's a way to remove remote branches. We 
don't like it because this allow project members to potentially remove free 
software from Savannah, willingly or by mistake.  This is mitigated by the fact 
it is very easy to push back changes.

When removing a branch, only its reference is removed, and the commit are still 
reachable by their identifiers. However, Savannah may prune unreachable commits 
(``git gc``), so don't count on this.

To remove a branch::

 git push origin :mybranch

For an easier syntax, you can use ``git-publish-branch -d`` 
(http://git-wt-commit.rubyforge.org/#git-publish-branch).

--
forwarded from http://savannah.gnu.org/maintenance/address@hidden/maintenance




reply via email to

[Prev in Thread] Current Thread [Next in Thread]