31. Relocating as an alternative to merging


  • To learn the difference between relocating and merging.


Let us look at the differences between relocating and merging. To do this, we need to get back into the repository at the time prior to the first merge, and then repeat the same steps but using relocating instead of merging.

We will use the reset command to return the branch to a previous state.

© 2011-2015 Git How To. All rights reserved / Contact us