Git alias:
reset-to-upstream = !git reset --hard $(git upstream-branch)
Example:
git reset-to-upstream
See how to use this alias and related ones:
Git alias:
reset-to-upstream = !git reset --hard $(git upstream-branch)
Example:
git reset-to-upstream
See how to use this alias and related ones: