We can merge a branch into master which will combine the history of master with the changes from the branch.
Is there a simple way to make the contents of the branch the contents of master (equivalent to deleting all the content from the working tree in master, committing an empty tree, then merging branch into master)?
We can merge a branch into master which will combine the history of master with the changes from the branch.
Is there a simple way to make the contents of the branch the contents of master (equivalent to deleting all the content from the working tree in master, committing an empty tree, then merging branch into master)?