| 1 |
= git-lfs-push(1) |
| 2 |
|
| 3 |
== NAME |
| 4 |
|
| 5 |
git-lfs-push - Push queued large files to the Git LFS endpoint |
| 6 |
|
| 7 |
== SYNOPSIS |
| 8 |
|
| 9 |
[source,role=synopsis,subs="verbatim,quotes"] |
| 10 |
---- |
| 11 |
*git lfs push* [_options_] _<remote>_ [_<ref>_...] |
| 12 |
*git lfs push* _<remote>_ [_<ref>_...] |
| 13 |
*git lfs push* [_options_] _<remote>_ *--stdin* |
| 14 |
*git lfs push --object-id* _<remote>_ [_<oid>_...] |
| 15 |
*git lfs push --object-id* _<remote>_ *--stdin* |
| 16 |
---- |
| 17 |
|
| 18 |
== DESCRIPTION |
| 19 |
|
| 20 |
Upload Git LFS files to the configured endpoint for the current Git |
| 21 |
remote. By default, it filters out objects that are already referenced |
| 22 |
by the local clone of the remote. |
| 23 |
|
| 24 |
== OPTIONS |
| 25 |
|
| 26 |
`-d`:: |
| 27 |
`--dry-run`:: |
| 28 |
Print the files that would be pushed, without actually pushing them. |
| 29 |
`-a`:: |
| 30 |
`--all`:: |
| 31 |
This pushes all objects to the remote that are referenced by any commit |
| 32 |
reachable from the refs provided as arguments. If no refs are provided, then |
| 33 |
all local refs are pushed. Note that this behavior differs from that of |
| 34 |
git-lfs-fetch(1) when its `--all` option is used; in that case, all refs are |
| 35 |
fetched, including refs other than those under `refs/heads` and `refs/tags`. |
| 36 |
If you are migrating a repository with these commands, make sure to run `git |
| 37 |
lfs push` for any additional remote refs that contain Git LFS objects not |
| 38 |
reachable from your local refs. |
| 39 |
`-o`:: |
| 40 |
`--object-id`:: |
| 41 |
This pushes only the object OIDs listed at the end of the command, separated |
| 42 |
by spaces. |
| 43 |
`--stdin`:: |
| 44 |
Read a list of newline-delimited refs (or object IDs when using `--object-id`) |
| 45 |
from standard input instead of the command line. |
| 46 |
|
| 47 |
== SEE ALSO |
| 48 |
|
| 49 |
git-lfs-fetch(1), git-lfs-pre-push(1). |
| 50 |
|
| 51 |
Part of the git-lfs(1) suite. |