git-lfs/docs/man/git-lfs-push.1.ronn

42 lines
1.3 KiB
Plaintext
Raw Normal View History

git-lfs-push(1) -- Push queued large files to the Git LFS endpoint
==================================================================
2014-06-02 22:35:56 +00:00
## SYNOPSIS
2015-09-10 13:16:02 +00:00
`git lfs push` [options] <remote> [<ref>...]<br>
`git lfs push` <remote> [<ref>...]<br>
`git lfs push` --object-id <remote> [<oid>...]
2014-06-02 22:35:56 +00:00
## DESCRIPTION
2015-09-08 21:04:22 +00:00
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
2015-09-08 21:04:22 +00:00
* `--dry-run`:
Print the files that would be pushed, without actually pushing them.
* `--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 refs are pushed.
2015-09-08 21:04:22 +00:00
2015-07-22 22:32:34 +00:00
* `--object-id`:
This pushes only the object OIDs listed at the end of the command, separated
by spaces.
* `--stdin`:
2015-04-24 17:43:29 +00:00
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
2015-04-24 17:41:14 +00:00
the command line arguments are ignored. NOTE: This is deprecated in favor
of the `pre-push` command.
2014-06-02 22:35:56 +00:00
## SEE ALSO
2015-04-24 16:04:02 +00:00
git-lfs-clean(1), git-lfs-pre-push(1).
2014-06-02 22:56:01 +00:00
2015-03-19 19:30:55 +00:00
Part of the git-lfs(1) suite.