1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 13:02:08 +02:00
tldr/pages/common/git-unlock.md
2021-10-23 15:58:00 -03:00

327 B

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}}