Michal Vyskočil on Nostr: git update-index --assume-unchanged .luarc.json This is pretty neat trick of #git to ...
git update-index --assume-unchanged .luarc.json
This is pretty neat trick of #git to hide the file from a local tracking. Removed and git no longer complains, neither restore it. Makes lazydev working again.
Recommended by Copilot btw.
#git #lua #neovim
Published at
2024-09-14 16:11:03Event JSON
{
"id": "10824f1891fe7d798fb82d5493431407d30a4fdee0999a5aa2145345d061c27d",
"pubkey": "87788574d70f883fb739875185f1513273366961735d57d11595dcf857598af0",
"created_at": 1726330263,
"kind": 1,
"tags": [
[
"t",
"git"
],
[
"t",
"lua"
],
[
"t",
"neovim"
],
[
"proxy",
"https://witter.cz/users/vyskocilm/statuses/113136780118047432",
"activitypub"
]
],
"content": "git update-index --assume-unchanged .luarc.json\n\nThis is pretty neat trick of #git to hide the file from a local tracking. Removed and git no longer complains, neither restore it. Makes lazydev working again.\n\nRecommended by Copilot btw.\n\n#git #lua #neovim",
"sig": "359132110af543073325acc6897bd716305ab1e5c1cbdebe2e22d10165f0988f11c97ba1715667be9889baf9887b279b0ea89d2c0f101a65fda40bb3fc939a88"
}