Last Updated: February 25, 2016
·
334
· avanov

Rebase on a remote

Only use when absolutely necessary, aka recovery mode

git push -f {remote_name} {commit_uid}:{remote_branch_name}

Example:

git push -f origin 0f4a8ee237717f4308fb50a2655daca82969a217:develop