Skip to content

Commit

Permalink
path argument can not be optional in rscp; add more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
chernjie committed Dec 28, 2014
1 parent 5239e1e commit f1932ec
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions man/git-scp.1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

`git scp` \-h|help|?
`git scp` <remote> [<commits>\.\.\.|<path>\.\.\.]
`git rscp` <remote> [<path>]
`git rscp` <remote> <path>
.
.fi
.
Expand All @@ -23,7 +23,7 @@ A convenient way to copy files from the current working tree to the working dire
Internally this script uses \fBrsync\fR and not \fBscp\fR as the name suggests\.
.
.P
\fBgit\-rscp\fR \- Copies specific files from the working directory of a remote repository to the current working directory\.
\fBgit\-rscp\fR \- The reverse of \fBgit\-scp\fR\. Copies specific files from the working directory of a remote repository to the current working directory\.
.
.SH "OPTIONS"
<remote>
Expand Down
4 changes: 2 additions & 2 deletions man/git-scp.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/git-scp.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ git-scp(1) -- Copy files to SSH compatible `git-remote`

`git scp` -h|help|?
`git scp` <remote> [<commits>...|<path>...]
`git rscp` <remote> [<path>]
`git rscp` <remote> <path>

## DESCRIPTION

A convenient way to copy files from the current working tree to the working directory of a remote repository. If a `<commits>...` is provided, only files that has changed within the commit range will be copied.

Internally this script uses `rsync` and not `scp` as the name suggests.

`git-rscp` - Copies specific files from the working directory of a remote repository to the current working directory.
`git-rscp` - The reverse of `git-scp`. Copies specific files from the working directory of a remote repository to the current working directory.

## OPTIONS

Expand Down

0 comments on commit f1932ec

Please sign in to comment.