'Locking support detected on remote "origin"
I started tracking some files with git-lfs. Upon my next git push, I get constant (censored) message:
Locking support detected on remote "origin". Consider enabling it with:
$ git config lfs.<repo_url>.git/info/lfs.locksverify true
When I run git config lfs.<repo_url>.git/info/lfs.locksverify true, the command exits with success and no output, and the same message continues to print with every git push.
Considering we have automation scripted around git output, how can I disable this message? Will every git client using my repo now have to run the same remediation?
Solution 1:[1]
When you run $ git config lfs.<repo_url>.git/info/lfs.locksverify true, it added to your git workspace/local config file. when your re-clone the workspace, it is not present.
You can verify that by running $ git config --list
To avoid asking this every time, add that your global/system (--global) git config in the build machines.
$ git config lfs.<repo_url>.git/info/lfs.locksverify true --global
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Jijo John |
