8
tanan
8y

I worked as a freelance for a client and after working for more than a month, he owes me 1500$ and the payment was already due 15 days back
Today he even disconnected me on Skype which was the main source of communication
Now I want to undo my pull request which has already been merged in the master
I still have write access to the main repo, its on bitbucket
Is there any way i can destroy all my commits from the master branch or undo my merged pull so that he doesn't get any of the code
#helpwanted

Comments
  • 2
    I always make deactivation code embedded into the source... I started doing this after experiencing the same as you
  • 1
    Any code I write for people I try to make black box web services etc so they can test but not have the code until payment
  • 0
    you shouldn't let him be in control of anything you make until he pays! :(
  • 0
    Learned a big lesson today :(
  • 1
    @tanan try to expose this guy on the social media. tell his friends and family and humiliate him. he deserves it.
  • 1
    it is possible to delete commits and do a force push
  • 4
    If it uses a git repo:
    git pull
    git rebase -i
    delete all your commits
    git push -f

    And don't forget to leave a document that tells him to go fuck himself.
  • 0
    @tysa this is (sadly) illegal in many countries :/
Add Comment