31. Relocating as an alternative to merging

Goals

  • To learn the difference between relocating and merging.

Discussion

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.

SVN?
© 2011-2014 Git How To. All rights reserved / Contact us