diff --git a/pages/common/git-lock.md b/pages/common/git-lock.md index 8eb9eb220..bfc09598d 100644 --- a/pages/common/git-lock.md +++ b/pages/common/git-lock.md @@ -1,7 +1,7 @@ # git lock > Lock a file in a Git repository from being modified by a commit. -> Part of `git-extras`. +> Part of `git-extras`. See also `git-unlock`. > More information: . - Disable the ability to commit changes of a local file: diff --git a/pages/common/git-unlock.md b/pages/common/git-unlock.md new file mode 100644 index 000000000..e29f20263 --- /dev/null +++ b/pages/common/git-unlock.md @@ -0,0 +1,9 @@ +# git unlock + +> Unlock a file in a Git repository so it can be modified by a commit. +> Part of `git-extras`. See also `git lock`. +> More information: . + +- Enable the ability to commit changes of a previously-locked local file: + +`git unlock {{path/to/file}}`