git-lock - Man Page
Lock a file excluded from version control
Examples (TL;DR)
- Disable the ability to commit changes of a local file:
git lock path/to/file
Synopsis
git-lock <filename>
Description
Lock local files from version control.
Options
<filename>
The name of the filename.
Examples
$ git lock config/database.yml
Author
Written by Julio Napuri <julionc@gmail.com>
Reporting Bugs
See Also
Referenced By
October 2017 Git Extras