I assume you are using Git.
Here's how Git works. When you "clone" a repository from a remote (such as bitbucket or github), you get a copy of the entire repository on your local machine. If your access to that remote is revoked - the local repository doesn't care. You've successfully prevented him from sabotaging your code, but there is nothing you can do technologically to prevent him from "stealing" code he previously had access to.
As far as legal recourse, you should consult a lawyer in your jurisdiction.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs