I have started doing some work on a branch which I have in term realised was the wrong branch. Is there a way to move a branch to a different branch.
For example:
This is just the sort of thing git rebase can do.
git rebase
https://www.kernel.org/pub/software/scm/git/docs/git-rebase.html