diff --git a/Documentation/cmd-cherry-pick.txt b/Documentation/cmd-cherry-pick.txt index 568c8729d6..d051a9a3aa 100644 --- a/Documentation/cmd-cherry-pick.txt +++ b/Documentation/cmd-cherry-pick.txt @@ -39,7 +39,7 @@ copy it to your local system: ==== $ scp -p -P 29418 john.doe@review.example.com:bin/gerrit-cherry-pick ~/bin/ - $ curl http://review.example.com/tools/bin/gerrit-cherry-pick + $ curl -o ~/bin/gerrit-cherry-pick http://review.example.com/tools/bin/gerrit-cherry-pick ==== GERRIT diff --git a/Documentation/cmd-index.txt b/Documentation/cmd-index.txt index 4c0560e512..c4f222bdd8 100644 --- a/Documentation/cmd-index.txt +++ b/Documentation/cmd-index.txt @@ -12,8 +12,8 @@ To download a client command or hook, use scp or an http client: $ scp -p -P 29418 john.doe@review.example.com:bin/gerrit-cherry-pick ~/bin/ $ scp -p -P 29418 john.doe@review.example.com:hooks/commit-msg .git/hooks/ - $ curl http://review.example.com/tools/bin/gerrit-cherry-pick - $ curl http://review.example.com/tools/hooks/commit-msg + $ curl -o ~/bin/gerrit-cherry-pick http://review.example.com/tools/bin/gerrit-cherry-pick + $ curl -o .git/hooks/commit-msg http://review.example.com/tools/hooks/commit-msg For more details on how to determine the correct SSH port number, see link:user-upload.html#test_ssh[Testing Your SSH Connection]. diff --git a/Documentation/user-changeid.txt b/Documentation/user-changeid.txt index 409bb32908..6c8f883796 100644 --- a/Documentation/user-changeid.txt +++ b/Documentation/user-changeid.txt @@ -50,7 +50,7 @@ To install the hook, copy it from Gerrit's daemon: $ scp -p -P 29418 john.doe@review.example.com:hooks/commit-msg .git/hooks/ - $ curl http://review.example.com/tools/hooks/commit-msg + $ curl -o .git/hooks/commit-msg http://review.example.com/tools/hooks/commit-msg For more details, see link:cmd-hook-commit-msg.html[commit-msg].