diff --git a/pages/common/git-lock.md b/pages/common/git-lock.md new file mode 100644 index 0000000000..8eb9eb220b --- /dev/null +++ b/pages/common/git-lock.md @@ -0,0 +1,9 @@ +# git lock + +> Lock a file in a Git repository from being modified by a commit. +> Part of `git-extras`. +> More information: . + +- Disable the ability to commit changes of a local file: + +`git lock {{path/to/file}}`