Git alias:
undo-to-upstream = !git reset --hard $(git upstream-branch)
Example:
git undo-to-upstream
See how to use this alias and related ones:
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
parent directory.. | ||||
Git alias:
undo-to-upstream = !git reset --hard $(git upstream-branch)
Example:
git undo-to-upstream
See how to use this alias and related ones: