about summary refs log tree commit diff
path: root/docs/REVIEWS.md
diff options
context:
space:
mode:
authorKane York <kanepyork@gmail.com>2020-07-23T22·46-0700
committerkanepyork <rikingcoding@gmail.com>2020-07-26T20·07+0000
commit29c02242ad24396fd67a18c73a973e7f0ba97fa4 (patch)
treecb5b3227e0c4d6a0ad37459368aa34b08aa62746 /docs/REVIEWS.md
parenta5c7e03dbdc754996c76a32a9c7d157bd5c938de (diff)
docs(REVIEWS): recommend remote.origin.push config r/1480
Change-Id: I090841101b9ee0295aabb2097f953bf149f39a9d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1403
Tested-by: BuildkiteCI
Reviewed-by: lukegb <lukegb@tvl.fyi>
Diffstat (limited to 'docs/REVIEWS.md')
-rw-r--r--docs/REVIEWS.md15
1 files changed, 14 insertions, 1 deletions
diff --git a/docs/REVIEWS.md b/docs/REVIEWS.md
index cb6d328458ae..244c0b1fa349 100644
--- a/docs/REVIEWS.md
+++ b/docs/REVIEWS.md
@@ -54,10 +54,23 @@ of your commit and want to submit it for review, you push it to a git ref called
 `refs/for/canon`. This designates the commits as changelists (CLs) targeted for
 the `canon` branch.
 
+Sending a change for review is done by pushing to a special target. You can set
+this to be the default push target through your git configuration:
+
+```
+git config remote.origin.url "ssh://$USER@code.tvl.fyi:29418/depot"
+git config remote.origin.push HEAD:refs/for/canon
+```
+
+Then, after making your change, push to the default, or to a special target:
+
 ```
 Example:
 git commit -m 'docs(REVIEWS): Fixed all the errors in the reviews docs'
-git push origin HEAD:refs/for/canon
+git push origin
+
+# Uploading a work-in-progress CL:
+git push origin HEAD:refs/for/canon%wip
 ```
 
 TIP: Every individual commit will become a separate change. We do not merge