Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gerrit_tutorial [2020/04/21 17:49] – [Cloning the test repo] rpjdaygerrit_tutorial [2020/04/21 17:55] (current) – [git-review --setup] rpjday
Line 74: Line 74:
 </code> </code>
  
-Finally, there are no configured hooks.+Finally, there are no configured hooks
 + 
 +<code> 
 +$ 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 
 +
 +</code>
  
 ===== Configuring git-review ===== ===== Configuring git-review =====
Line 101: Line 118:
 </code> </code>
  
-==== git-review --setup ====+===== git-review --setup =====
  
 Set up ''git-review'': Set up ''git-review'':
Line 108: Line 125:
 $ git review -s $ git review -s
 </code> </code>
 +
 +which does the following:
 +
 +  * check remote access for submitting branches (if no remote access, ask for username)
 +  * create remote access called "gerrit" (doesn't seem to)
 +  * install Gerrit ''commit-msg'' hook
  
  
  • gerrit_tutorial.1587491386.txt.gz
  • Last modified: 2020/04/21 17:49
  • by rpjday