Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
gerrit_tutorial [2020/04/21 17:49] – [Cloning the test repo] rpjday | gerrit_tutorial [2020/04/21 17:55] (current) – [git-review --setup] rpjday | ||
---|---|---|---|
Line 74: | Line 74: | ||
</ | </ | ||
- | Finally, there are no configured hooks. | + | Finally, there are no configured hooks: |
+ | |||
+ | < | ||
+ | $ ls -1 .git/hooks | ||
+ | applypatch-msg.sample | ||
+ | commit-msg.sample | ||
+ | fsmonitor-watchman.sample | ||
+ | post-update.sample | ||
+ | pre-applypatch.sample | ||
+ | pre-commit.sample | ||
+ | pre-merge-commit.sample | ||
+ | prepare-commit-msg.sample | ||
+ | pre-push.sample | ||
+ | pre-rebase.sample | ||
+ | pre-receive.sample | ||
+ | update.sample | ||
+ | $ | ||
+ | </ | ||
===== Configuring git-review ===== | ===== Configuring git-review ===== | ||
Line 101: | Line 118: | ||
</ | </ | ||
- | ==== git-review --setup ==== | + | ===== git-review --setup |
Set up '' | Set up '' | ||
Line 108: | Line 125: | ||
$ git review -s | $ git review -s | ||
</ | </ | ||
+ | |||
+ | which does the following: | ||
+ | |||
+ | * check remote access for submitting branches (if no remote access, ask for username) | ||
+ | * create remote access called " | ||
+ | * install Gerrit '' | ||