---
name: "git-ssh-upload"
section: "1"
platform: "linux"
package: "git-core"
version: "1:1.4.4.4-4+etch4"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/git-ssh-upload"
---

# git-ssh-upload(1)

Pushes to a remote repository over ssh connection

## NAME

git-ssh-upload - Pushes to a remote repository over ssh connection

## SYNOPSIS

*git-ssh-upload* \[-c\] \[-t\] \[-a\] \[-d\] \[-v\] \[-w filename\] \[--recover\] commit-id url

## DESCRIPTION

Pushes from a remote repository over ssh connection, invoking git-ssh-fetch on the other end. It functions identically to git-ssh-fetch, aside from which end you run it on.

## OPTIONS

commit-id

Id of commit to push.

- \-c

  Get the commit objects.

- \-t

  Get tree associated with the requested commit object.

- \-a

  Get all the objects.

- \-v

  Report what is uploaded.

- \-w

  Writes the commit-id into the filename under \[URL\]/refs/ on the remote end after the transfer is complete.

## AUTHOR

Written by Daniel Barkalow \<barkalow@iabervon.org\>

## DOCUMENTATION

Documentation by Daniel Barkalow

## GIT

Part of the [**git**(7)](/git/7.md) suite
