mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:42:08 +02:00
git-rscp: update page (#11021)
This commit is contained in:
parent
fdcf330eba
commit
f2515b3058
1 changed files with 7 additions and 3 deletions
|
@ -1,9 +1,13 @@
|
|||
# git rscp
|
||||
|
||||
> This command is an alias of `git scp`, to copy files from the current working tree to the working directory of a remote repository.
|
||||
> Reverse `git scp` - copy files from the working directory of a remote repository to the current working tree.
|
||||
> Part of `git-extras`.
|
||||
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-scp>.
|
||||
|
||||
- View documentation for the original command:
|
||||
- Copy specific files from a remote:
|
||||
|
||||
`tldr git scp`
|
||||
`git rscp {{remote_name}} {{path/to/file1 path/to/file2 ...}}`
|
||||
|
||||
- Copy a specific directory from a remote:
|
||||
|
||||
`git rscp {{remote_name}} {{path/to/directory}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue