mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
16 lines
421 B
Plaintext
16 lines
421 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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/main/Commands.md#git-unlock>.
|
|
|
|
- Enable the ability to commit changes of a previously-locked local file:
|
|
|
|
`git unlock {{path/to/file}}`
|