Skip to content

Instantly share code, notes, and snippets.

View Mashpy's full-sized avatar

Akhlasur Rahman (Mashpy) Mashpy

View GitHub Profile
@Mashpy
Mashpy / nitrous
Last active August 29, 2015 14:02
https://www.nitrous.io/join/SgphmYOSgV0?utm_source=nitrous.io&utm_medium=copypaste&utm_campaign=referral
a5608710@drdrb.net
a6393421@drdrb.net
git rebase -i dd61ab23^
This will open and editor showing a list of all commits. Delete the one you want to get rid off. Finish the rebase and push force to repo.
git rebase --continue
git push <<remote>> -f
574 git reset --hard 2633cabf1b7cfe4561c2781cc666e73fcbfc32c1
575 git push origin HEAD --force