mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 11:06:00 +02:00
git-unlock: add page (#7035)
This commit is contained in:
parent
d83441812f
commit
3c36cfe48d
2 changed files with 10 additions and 1 deletions
|
@ -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: <https://github.com/tj/git-extras/blob/master/Commands.md#git-lock>.
|
||||
|
||||
- Disable the ability to commit changes of a local file:
|
||||
|
|
9
pages/common/git-unlock.md
Normal file
9
pages/common/git-unlock.md
Normal file
|
@ -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: <https://github.com/tj/git-extras/blob/master/Commands.md#git-unlock>.
|
||||
|
||||
- Enable the ability to commit changes of a previously-locked local file:
|
||||
|
||||
`git unlock {{path/to/file}}`
|
Loading…
Add table
Reference in a new issue