Merge "Include user in scp commands to copy commit hook and cherry-pick script"

This commit is contained in:
Shawn Pearce 2011-02-28 12:40:40 -08:00 committed by Android Code Review
commit fdaa54f7fe
4 changed files with 6 additions and 6 deletions

View File

@ -38,9 +38,9 @@ OBTAINING
To obtain the 'gerrit-cherry-pick' script use scp, curl or wget to
copy it to your local system:
$ scp -p -P 29418 gerrit.example.com:bin/gerrit-cherry-pick ~/bin/
$ scp -p -P 29418 john.doe@review.example.com:bin/gerrit-cherry-pick ~/bin/
$ curl http://gerrit.example.com/tools/bin/gerrit-cherry-pick
$ curl http://review.example.com/tools/bin/gerrit-cherry-pick
GERRIT
------

View File

@ -56,7 +56,7 @@ OBTAINING
To obtain the 'commit-msg' script use scp, wget or curl to copy it
to your local system:
$ scp -p -P 29418 review.example.com:hooks/commit-msg .git/hooks/
$ scp -p -P 29418 john.doe@review.example.com:hooks/commit-msg .git/hooks/
$ curl http://review.example.com/tools/hooks/commit-msg

View File

@ -9,8 +9,8 @@ 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 review.example.com:bin/gerrit-cherry-pick ~/bin/
$ scp -p -P 29418 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 http://review.example.com/tools/bin/gerrit-cherry-pick
$ curl http://review.example.com/tools/hooks/commit-msg

View File

@ -48,7 +48,7 @@ can be installed in the local Git repository to automatically
create and insert a unique Change-Id line during `git commit`.
To install the hook, copy it from Gerrit's daemon:
$ scp -p -P 29418 review.example.com:hooks/commit-msg .git/hooks/
$ scp -p -P 29418 john.doe@review.example.com:hooks/commit-msg .git/hooks/
$ curl http://review.example.com/tools/hooks/commit-msg