diff --git a/Documentation/cmd-index.txt b/Documentation/cmd-index.txt index 496c2055d7..25099fae2d 100644 --- a/Documentation/cmd-index.txt +++ b/Documentation/cmd-index.txt @@ -8,11 +8,11 @@ from Gerrit's daemon, and then executed on the client system. 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/ +$ 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 -Lo ~/bin/gerrit-cherry-pick http://review.example.com/tools/bin/gerrit-cherry-pick - $ curl -Lo .git/hooks/commit-msg http://review.example.com/tools/hooks/commit-msg +$ curl -Lo ~/bin/gerrit-cherry-pick http://review.example.com/tools/bin/gerrit-cherry-pick +$ curl -Lo .git/hooks/commit-msg http://review.example.com/tools/hooks/commit-msg ---- For more details on how to determine the correct SSH port number, @@ -32,7 +32,7 @@ the developer experience when working with a Gerrit Code Review server. link:cmd-hook-commit-msg.html[commit-msg]:: - Automatically generate `Change-Id: ` tags in commit messages. + Automatically generate `Change-Id:` tags in commit messages. == Server