Git settings
Once you have connected a Git repository, select the Git menu item from your project settings page to edit your project's Git settings. These settings include:
- Managing Git Large File Storage (LFS)
- Creating Deploy Hooks
To disconnect your Git repository from your Vercel project:
- Choose a project from the dashboard
- Open Settings in the sidebar and select Git
- Under Connected Git Repository, select the Disconnect button.
If you have LFS objects in your repository, you can enable or disable support for them from the project settings. When support is enabled, Vercel will pull the LFS objects that are used in your repository.
You must redeploy your project after turning Git LFS on.
Vercel supports deploy hooks, which are unique URLs that accept HTTP POST requests and trigger deployments. Check out our Deploy Hooks documentation to learn more.
Vercel allows you to require verified commits for deployments. This is only available for GitHub projects. Learn more about verified commits on GitHub.
To enable verified commits:
- From the Vercel dashboard, select your project
- Open Settings in the sidebar and select Git
- Under Require Verified Commits, select the Enable checkbox
When enabled, Vercel will only create deployments for commits that have been verified by GitHub. For all other commits, the deployment will be automatically canceled.
Was this helpful?