Updated documentation for git-scp and slight feature change

This commit is contained in:
CJ 2015-04-27 14:44:15 +08:00
parent 6e4152d3b0
commit 62dd4a2258
6 changed files with 8 additions and 1 deletions

View file

@ -14,6 +14,7 @@ Patches and Suggestions
```````````````````````
- Mark Eissler
- Chern Jie
- Kenneth Reitz
- Aggelos Orfanakos
- Jonathan "Duke" Leto

View file

@ -109,7 +109,7 @@ function scp_and_stage
_sanitize $list &&
_info Pushing to $remote \($(git config remote.$remote.url)\) &&
rsync -rlDv --files-from=$_TMP ./ "$(git config remote.$remote.url)/" &&
git add $list &&
git add --force $list &&
rm $_TMP
fi

View file

@ -126,6 +126,9 @@ Self update\.
\fBgit\-reset\-file(1)\fR Reset one file
.
.IP "\(bu" 4
\fBgit\-scp(1)\fR Copy files from the current working tree to the working directory of a remote repository
.
.IP "\(bu" 4
\fBgit\-setup(1)\fR Set up a git repository
.
.IP "\(bu" 4

View file

@ -126,6 +126,7 @@
<li> <strong><a class="man-ref" href="git-rename-tag.html">git-rename-tag<span class="s">(1)</span></a></strong> Rename a tag</li>
<li> <strong><a class="man-ref" href="git-repl.html">git-repl<span class="s">(1)</span></a></strong> git read-eval-print-loop</li>
<li> <strong><a class="man-ref" href="git-reset-file.html">git-reset-file<span class="s">(1)</span></a></strong> Reset one file</li>
<li> <strong><a class="man-ref" href="git-scp, git-rscp.html">git-scp<span class="s">(1)</span></a></strong> Copy files from the current working tree to the working directory of a remote repository</li>
<li> <strong><a class="man-ref" href="git-setup.html">git-setup<span class="s">(1)</span></a></strong> Set up a git repository</li>
<li> <strong><a class="man-ref" href="git-show-merged-branches.html">git-show-merged-branches<span class="s">(1)</span></a></strong> Show merged branches</li>
<li> <strong><a class="man-ref" href="git-show-tree.html">git-show-tree<span class="s">(1)</span></a></strong> show branch tree of commit history</li>

View file

@ -53,6 +53,7 @@ git-extras(1) -- Awesome GIT utilities
- **git-rename-tag(1)** Rename a tag
- **git-repl(1)** git read-eval-print-loop
- **git-reset-file(1)** Reset one file
- **git-scp(1)** Copy files from the current working tree to the working directory of a remote repository
- **git-setup(1)** Set up a git repository
- **git-show-merged-branches(1)** show merged branches
- **git-show-tree(1)** show branch tree of commit history

View file

@ -32,6 +32,7 @@ git-release(1) git-release
git-rename-tag(1) git-rename-tag
git-repl(1) git-repl
git-reset-file(1) git-reset-file
git-scp(1) git-scp
git-setup(1) git-setup
git-show-merged-branches(1) git-show-merged-branches
git-show-tree(1) git-show-tree