32 lines
918 B
Markdown
32 lines
918 B
Markdown
git-lfs-push(1) -- Push queued large files to the Git LFS endpoint
|
|
==================================================================
|
|
|
|
## SYNOPSIS
|
|
|
|
`git lfs push` <remote> [branch]
|
|
|
|
## DESCRIPTION
|
|
|
|
Upload Git LFS files to the configured endpoint for the current Git remote.
|
|
|
|
This command shouldn't be necessary since Git LFS automatically sets up a
|
|
pre-push hook for each repository.
|
|
|
|
## OPTIONS
|
|
|
|
* `--dry-run`:
|
|
Print the files that would be pushed, without actually pushing them.
|
|
|
|
* `--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.
|