Delete git.io shortened URL
Please note that as of Sep 2020 GitHub Support is no longer releasing git.io URLs:
https://github.blog/changelog/2020-09-23-git-io-urls-no-longer-released-by-github-support/
if the URL has a shortener on git.io already you can still create a new one by adding /index.html or JUST the forward slash /
ex. github https://github.com/jgorset/git.io/issues/5 >> https://git.io/vxba7 now you can still create vanity shortener with --code=NAME, adding a forward slash to URL as https://github.com/jgorset/git.io/issues/5/
If someone else created it first, it will return the existing shortened URL. So, it is currently not possible to override but you can contact GitHub support team to either remove or change it.
I discovered following trick though, you can add a harmless query param ?
to make it different:
$ curl -i https://git.io -F "url=YOUR_GITHUB_URL_HERE?" -F "code=YOUR_CUSTOM_NAME"
Hope that helps.