'\" t .\" Title: git-lfs-pre-push .\" Author: [see the "AUTHOR(S)" section] .\" Generator: Asciidoctor 2.0.12 .\" Date: 2022-12-28 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" .TH "GIT\-LFS\-PRE\-PUSH" "1" "2022-12-28" "\ \&" "\ \&" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 .nh .ad l .de URL \fI\\$2\fP <\\$1>\\$3 .. .als MTO URL .if \n[.g] \{\ . mso www.tmac . am URL . ad l . . . am MTO . ad l . . . LINKSTYLE blue R < > .\} .SH "NAME" git\-lfs\-pre\-push \- Git pre\-push hook implementation .SH "SYNOPSIS" .sp \f(CRgit lfs pre\-push\fP [remoteurl] .SH "DESCRIPTION" .sp Responds to Git pre\-hook events. It reads the range of commits from STDIN, in the following format: .sp .if n .RS 4 .nf .fam C SP SP SP \(rsn .fam .fi .if n .RE .sp It also takes the remote name and URL as arguments. .sp If any of those Git objects are associated with Git LFS objects, those objects will be pushed to the Git LFS API. .sp In the case of pushing a new branch, the list of Git objects will be all of the Git objects in this branch. .sp In the case of deleting a branch, no attempts to push Git LFS objects will be made. .SH "OPTIONS" .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ . sp -1 . IP \(bu 2.3 .\} \f(CRGIT_LFS_SKIP_PUSH\fP: Do nothing on pre\-push. For more, see: git\-lfs\-config(5). .RE .SH "SEE ALSO" .sp git\-lfs\-clean(1), git\-lfs\-push(1). .sp Part of the git\-lfs(1) suite.