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