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
Written by Maxim Avanov
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#