GIT-LFS-PUSH(1)
β¨ Bestie, welcome to GIT-LFS-PUSH(1) β the manual for git-lfs-push, and yes, this is the one that pushes queued large files to the Git LFS endpoint π
β¨
πΈ NAME πΈ
git-lfs-push β push queued large files to the Git LFS endpoint π«Ά
π¦ SYNOPSIS π¦
git lfs push [options] <remote> [<ref>...]
git lfs push <remote> [<ref>...]
git lfs push [options] <remote> --stdin
git lfs push --object-id <remote> [<oid>...]
git lfs push --object-id <remote> --stdin
π DESCRIPTION π
Okay so basically: this uploads Git LFS files to the configured endpoint for the current Git remote. β¨
By default, it filters out objects that are already referenced by the local clone of the remote. No cap, that default filtering is doing a little main-character work so you donβt re-push stuff thatβs already known π
β¨ OPTIONS β¨
-d,--dry-runβ Print the files that would be pushed, without actually pushing them. Itβs giving βpreview modeβ πβ¨-a,--allβ This pushes all objects to the remote that are referenced by any commit reachable from the refs provided as arguments. If no refs are provided, then all local refs are pushed. Note that this behavior differs from that ofgit-lfs-fetch(1)when its--alloption is used; in that case, all refs are fetched, including refs other than those underrefs/headsandrefs/tags. If you are migrating a repository with these commands, make sure to rungit lfs pushfor any additional remote refs that contain Git LFS objects not reachable from your local refs. π¨ This is the important migration caveat, bestie β read it twice.-o,--object-idβ This pushes only the object OIDs listed at the end of the command, separated by spaces. Very βpick me, choose meβ energy for specific objects π―--stdinβ Read a list of newline-delimited refs (or object IDs when using--object-id) from standard input instead of the command line. Piping it in? Iconic π§
π SEE ALSO π
Part of the git-lfs(1) suite. π
Sign-off from the footer: the original footer is just GIT-LFS-PUSH(1) β no source/version/date line to repeat here, so this is your cute little ending instead ππ
π¦ where this page comes from
- arch rolling: git-lfs 3.8.1-1 Β· MIT
- nixos 26.05: git-lfs 3.8.1
- nixpkgs unstable: git-lfs 3.8.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms