---
name: "git-ssh-fetch"
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-fetch"
---

# git-ssh-fetch(1)

Pulls from a remote repository over ssh connection

## NAME

git-ssh-fetch - Pulls from a remote repository over ssh connection

## SYNOPSIS

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

## DESCRIPTION

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

## OPTIONS

commit-id

Either the hash or the filename under \[URL\]/refs/ to pull.

- \-c

  Get the commit objects.

- \-t

  Get trees associated with the commit objects.

- \-a

  Get all the objects.

- \-v

  Report what is downloaded.

- \-w

  Writes the commit-id into the filename under $GIT\_DIR/refs/ on the local end after the transfer is complete.

## AUTHOR

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

## DOCUMENTATION

Documentation by David Greaves, Junio C Hamano and the git-list \<git@vger.kernel.org\>.

## GIT

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