git-lfs/docs/man/git-lfs-push.1.ronn
2015-09-08 15:04:22 -06:00

40 lines
1.2 KiB
Markdown

git-lfs-push(1) -- Push queued large files to the Git LFS endpoint
==================================================================
## SYNOPSIS
`git lfs push` <remote> [ref]<br>
`git lfs push` --object-id <remote> <oid1> <oid2> ...
## DESCRIPTION
Upload 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.
## OPTIONS
* `--dry-run`:
Print the files that would be pushed, without actually pushing them.
* `--all`:
This pushes all objects for the given ref or current branch, regardless of
whether they are referenced in the local clone of the remote.
* `--object-id`:
This pushes only the object OIDs listed at the end of the command, separated
by spaces.
* `--stdin`:
Read the remote and branch on stdin. This is used in conjunction with the
pre-push hook and must be in the format used by the pre-push hook:
<local-ref> <local-sha1> <remote-ref> <remote-sha1>. If --stdin is used
the command line arguments are ignored. NOTE: This is deprecated in favor
of the `pre-push` command.
## SEE ALSO
git-lfs-clean(1), git-lfs-pre-push(1).
Part of the git-lfs(1) suite.