Skip to content

Pushing to someone else's PR branch

Sam Rabin edited this page Oct 8, 2024 · 1 revision

When integrating someone else's PR, you may need to add commits to their branch. Trying to push might give you a "You must have push access to verify locks" error. This can be overcome by temporarily uninstalling git lfs:

git lfs uninstall --local && git push && git lfs install --local

You can save this as an alias in your ~/.gitconfig file, so that you can do it by simply saying git pushc:

[alias]
    pushc = !git lfs uninstall --local && git push && git lfs install --local
Clone this wiki locally