GIT-LOCK(1)

πŸ’– GIT-LOCK β€” bestie edition πŸ’–

okay so it's git-lock(1), it lives in the Git Extras family, and it's about to make your local files untouchable by git. no cap. 🫢


✨ NAME ✨

git-lock β€” lock a file that's excluded from version control πŸ”’


🌸 SYNOPSIS 🌸

git-lock <filename>

πŸ¦‹ DESCRIPTION πŸ¦‹

She locks your local files away from version control. that's it, that's the whole vibe. your wild untracked little files get a little "do NOT touch" sticker and git respects it πŸ’…


πŸŽ€ OPTIONS πŸŽ€

  • <filename> β€” the name of the filename. yes bestie, literally just the filename. hand it over and she handles it ✨

🌈 EXAMPLES 🌈

$ git lock config/database.yml

look at her go πŸ˜­πŸ’–


πŸ‘‘ AUTHOR πŸ‘‘

Written by Julio Napuri <julionc@gmail.com> β€” iconic, no notes ✨


πŸ’€ REPORTING BUGS πŸ’€

found something cursed? scream into the void here:

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

(the link is verbatim, don't @ me)


πŸ“ SEE ALSO πŸ“

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

go explore, main character 🧚


sending u off with the receipts: this is git-extras, dated May 2026, and that's the whole page. periodt πŸ’…πŸ’–πŸ¦‹

πŸ“¦ where this page comes from