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 of git-lfs-fetch(1) when its --all option is used; in that case, all refs are fetched, including refs other than those under refs/heads and refs/tags. If you are migrating a repository with these commands, make sure to run git lfs push for 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