From 3c36cfe48d418da45830f7f926b798a9eec3362f Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Sat, 23 Oct 2021 19:58:00 +0100 Subject: [PATCH] git-unlock: add page (#7035) --- pages/common/git-lock.md | 2 +- pages/common/git-unlock.md | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 pages/common/git-unlock.md diff --git a/pages/common/git-lock.md b/pages/common/git-lock.md index 8eb9eb220b..bfc09598d4 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 0000000000..e29f202635 --- /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}}`