Does the GIT command:
git branch -f master master^
have the same effect as:
git reset --soft master^
Is it so?
Theoretically yes, practically no. The first option does not work if master
is your current branch. You cannot force-update the current branch with the branch
command.
Should you be on another branch, then they are not identical either: