We have a Git repository with a couple of branches that live side by side, e.g. branch1
, branch2
and branch3
. The goal is to make master
always point to the same commit as the HEAD of, say, branch3
.
When googling the term "branch tracking" the articles almost always concern remote tracking. Can the same be achieved for local branches?