Git duplicate filter branches

I rewrote my git repository history as described here , however my original structure has evolved from

D (user 2) <-- master | C (user 2) E (user 1) <-- branch 1 | | +-------------------------+ | B (user 1) | A (user 1) 

in

 D (user 1) <-- master G (user 2, original/refs/heads/master) | | C (user 1) F (user 2) E (user 1) <-- branch 1 | | | +-------------------------+-------------------------+ | B (user 1) | A (user 1) 

So the question is, how can I get rid of F and G completely? original/refs/heads/master not a branch, but I'm also not quite sure what it is.

+4
source share
1 answer

It is decided:

 git update-ref -d refs/original/refs/heads/master 
+4
source

Source: https://habr.com/ru/post/1438714/


All Articles