GIT-LFS-UNTRACK(1)

πŸ’… NAME πŸ’…

git-lfs-untrack β€” bestie, this is the one that removes Git LFS paths from your Git Attributes ✨

It's the manual page git-lfs-untrack(1), and it's here to help you un-attach LFS from stuff you're soooo over 🫢


🌸 SYNOPSIS 🌸

git lfs untrack <path>...

Yep, that's it. Toss one or more paths at it and it goes to work πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the vibe: <path> (or paths, plural, you can give it several, go off πŸ‘‘) stops being tracked through Git LFS.

And the way the argument is giving flexibility? It can be a glob pattern or a file path β€” your call, main character 🌈

So like, whichever you hand over, Git LFS will stop tracking that thing. No cap, that's the whole job πŸ’…


πŸ“ EXAMPLES πŸ“

  • Configure Git LFS to stop tracking GIF files:
git lfs untrack "*.gif"

Look at that glob pattern doing its little dance ✨ bye-bye GIFs, you're on your own now 😭


⭐ SEE ALSO ⭐

Part of the git-lfs(1) suite. iykyk πŸ‘‘

And that's the whole page, babe πŸŽ€ sourced straight from the git-lfs(1) suite, page GIT-LFS-UNTRACK(1), same title top and bottom, no extra dates or version numbers tacked on β€” we keep it factual around here, fr fr πŸ’œ

πŸ“¦ where this page comes from