I would like to mirror a repository A to a repository B and make some changes on B while synchronizing all changes made to A in B. What's the best approach to do that ?
Currently, I use git-mirror to mirror the repo A and push to B. But when I fetch for new changes from A and push them to B, all my works on B (new branches) are deleted. I always get a copy of A.
Thanks in advance for your help.