Pushing to someone else's PR branch - ESCOMP/CTSM GitHub Wiki
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