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:45] – [Configuring git-review] rpjday | gerrit_tutorial [2020/04/21 17:55] (current) – [git-review --setup] rpjday | ||
|---|---|---|---|
| Line 72: | Line 72: | ||
| project=mediawiki/ | project=mediawiki/ | ||
| track=1 | track=1 | ||
| + | </ | ||
| + | |||
| + | 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 ===== | ||
| + | |||
| + | Verify remotes: | ||
| + | |||
| + | < | ||
| + | $ git remote -v | ||
| + | origin ssh:// | ||
| + | origin ssh:// | ||
| + | $ | ||
| + | </ | ||
| ==== Configuring git-review for origin ==== | ==== Configuring git-review for origin ==== | ||
| Line 90: | Line 118: | ||
| </ | </ | ||
| - | ==== git-review --setup ==== | + | ===== git-review --setup |
| Set up '' | Set up '' | ||
| Line 97: | 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 '' | ||