LinuxCommandLibrary

git-unlock

Unlock a file in a Git repository so it can be modified by a commit.

TLDR

Enable the ability to commit changes of a previously-locked local file

$ git unlock [path/to/file]
copy

SYNOPSIS

git-lock <filename>

DESCRIPTION

Unlock local files from version control.

OPTIONS

<filename>

The name of the filename.

EXAMPLES

$ git unlock config/database.yml

REPORTING BUGS

<https://github.com/tj/git-extras/issues>

SEE ALSO

<https://github.com/tj/git-extras>

AUTHOR

Written by Julio Napuri <julionc@gmail.com>

Copied to clipboard