|
From: | David Kastrup |
Subject: | Re: Staging/Master Merge - James' Patchy |
Date: | Tue, 10 Apr 2012 10:17:11 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
"Phil Holmes" <address@hidden> writes: > ----- Original Message ----- > From: "David Kastrup" <address@hidden> > To: <address@hidden> >> >> We use the staging branch exactly to avoid having to revert stuff. >> Instead we reset staging. Only stuff that percolated to master needs to >> get reverted in order to remove it. >> >> -- >> David Kastrup > > What's the syntax to do that, please? git push origin :staging (deletes the current staging branch) git push origin whatever_committish:refs/heads/staging whatever_committish is the commit you want to end up as staging instead of the previous one. The previous staging branch is lost. You better know what you are doing. -- David Kastrup
[Prev in Thread] | Current Thread | [Next in Thread] |