mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-06 18:35:40 +02:00
git-lock: add page (#6756)
This commit is contained in:
parent
93aaa02059
commit
89c1c27ff0
1 changed files with 9 additions and 0 deletions
9
pages/common/git-lock.md
Normal file
9
pages/common/git-lock.md
Normal file
|
@ -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: <https://github.com/tj/git-extras/blob/master/Commands.md#git-lock>.
|
||||
|
||||
- Disable the ability to commit changes of a local file:
|
||||
|
||||
`git lock {{path/to/file}}`
|
Loading…
Add table
Reference in a new issue