GIT-LFS-DEDUP(1)

πŸ¦‹ NAME πŸ¦‹

git-lfs-dedup β€” Deduplicate Git LFS files, bestie. This is the GIT-LFS-DEDUP(1) manual page, and it's lowkey here to make your storage situation cute. πŸ’–

✨ SYNOPSIS ✨

git lfs dedup

🌸 DESCRIPTION 🌸

Okay so picture this: git lfs dedup deduplicates storage by re-creating working tree files as clones of the files in the Git LFS storage directory. It does this using the operating system's copy-on-write file creation functionality. Very slay, very efficient. πŸ’…

If the operating system or file system don't support copy-on-write file creation, this command exits unsuccessfully. No cap β€” it's not gonna fake it for you. 😭

This command will also exit without success if any Git LFS extensions are configured. Why? Because those extensions will typically be used to alter the file contents before they are written to the Git LFS storage directory, and therefore the working tree files should not be copy-on-write clones of the LFS object files. It's giving "respect the pipeline," fr fr. 🫢

πŸŽ€ OPTIONS πŸŽ€

  • -t, --test β€” Checks whether the current operating system and file system support copy-on-write file creation, without actually cloning any Git LFS files. It's the vibe check before the makeover. ✨

πŸ‘‘ SEE ALSO πŸ‘‘

Part of the git-lfs(1) suite. The whole fam is there. 🌈


And that's the tea, bestie: the footer/source-version-date line is just GIT-LFS-DEDUP(1) β€” that's literally all it gives us, no extra date drama. πŸ«ΆπŸ’–

πŸ“¦ where this page comes from