|
|
|
|
|
by neild
514 days ago
|
|
The "move a branch from one commit to another without changing anything" command is "git reset". "git reset --hard" is "...and also change all the files in the working directory to match the new branch commit". "git reset --soft" is "...but leave the working directory alone". |
|
[1] https://git-scm.com/book/en/v2/Git-Tools-Reset-Demystified