On 10/5/15 11:19 PM, Mike Frysinger wrote:
On 05 Oct 2015 22:46, Anthony G. Basile wrote:
On 10/5/15 10:36 PM, Mike Frysinger wrote:
On 05 Oct 2015 22:25, Anthony G. Basile wrote:
Okay time to do some cleanup. I want to nuke the catalyst_2 and
catalyst_3 branches. dol-sen is going to take care of pending and 3.0.
I have no idea what write-on-master and tar-volume-label are so my
feeling is to nuke those too unless someone speaks up and said, wait NO!
rather than delete branches (and thus history), how about we move them to
a "old/" or "dead/" namespace ? then it'd be:
refs/heads/
|-- 2.x
|-- 3.0
|-- master
`-- old
|-- catalyst_2
|-- catalyst_3
|-- rewrite-on-master
`-- tar-volume-label
yeah even better, except i'm not sure how to do nested branches like
that. i'll google it.
that part is simple :). there's nothing special with refs.
create a copy first:
$ git push origin -n remotes/origin/catalyst_2:refs/heads/old/catalyst_2
To git+ssh://[email protected]/proj/catalyst.git
* [new branch] origin/catalyst_2 -> old/catalyst_2
then delete the old one:
$ git push origin -n :refs/heads/catalyst_2
To git+ssh://[email protected]/proj/catalyst.git
- [deleted] catalyst_2
-mike
All done.
--
Anthony G. Basile, Ph.D.
Gentoo Linux Developer [Hardened]
E-Mail : [email protected]
GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA
GnuPG ID : F52D4BBA