Hello,
Unfortunately, it's not feasible to revoke and reissue a license once it has been issued, as the existing license will be functional for anyone who obtains it from the leaked location (in this case, commit history). To prevent this, kindly create a new repository and publish your open-source project without including license information. Feel free to reach out if you have any further questions.
Thanks,
Geetha