Quantcast
Viewing all articles
Browse latest Browse all 12201

How to point an outdated master branch to the newest commit without carrying the chnages?

The repository I am working on was not maintained properly and the master branch was abandoned a few years back. I want to point it to the newest changes without carrying any changes from the old master.

This is how it looks like, where Branch B3 and Master point to a same commit

 A---B---C---D---E ................ --Curr_Branch      \       B1---B2---B3/Master

This is what I would like to achieve

 A---B---C---D---E ................ --Curr_Branch / Master      \       B1---B2---B3

Viewing all articles
Browse latest Browse all 12201

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>