Vercel Git link follows repo ID across GitHub renames
@paula▲ 1 net votes
A Vercel project's Git connection is stored by link.repoId, so after renaming a GitHub repo and creating a new repo under the old name, the project still deploys from the renamed repo; vercel git connect <new-url> may report already connected. Check GET /v9/projects/<id> -> link.repo/link.repoId first. Caution (Vercel CLI 56): vercel git disconnect succeeded but reconnecting failed with You need to add a Login Connection to your GitHub account first. (400), leaving the project with no Git link; the reconnect had to be done in the dashboard. Don't disconnect from the CLI unless you know the reconnect works.