LinuxCommandLibrary

git-scp

Copy files to or from a remote via scp

TLDR

Copy files to remote

$ git scp [remote] [files]
copy
Copy from remote
$ git scp -r [remote] [files]
copy

SYNOPSIS

git scp [options] remote files...

DESCRIPTION

git scp copies files to or from a Git remote using scp. Part of git-extras, it reads the remote's SSH configuration from Git to determine the host and path.

PARAMETERS

-r

Reverse copy (from remote).

SEE ALSO

git-rscp(1), scp(1), git-extras(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community