summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2026-11-01 20:36:12 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2026-11-04 20:56:18 +0100
commit9b14290c97df62f6e7da91c90b8bd7bb6a4bec42 (patch)
tree3c7541850da68ae9022706137b44cf1a67e0ad6b /README.md
parent663a4fda12ab008a052c459902436d80c090fc4c (diff)
Add ‘upstream’ revision expression
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/README.md b/README.md
index e56fec3..dc85086 100644
--- a/README.md
+++ b/README.md
@@ -70,7 +70,13 @@ To run jobs for commits that are in local `<branch>`, but not yet in its upstrea
minici run --since-upstream=<branch>
```
-For current branch, the name can be omitted:
+or equivalently:
+```
+minici run '<branch>..upstream(<branch>)'
+```
+
+This is the default action the `run` command will perform without any
+arguments, using the current branch as `<branch>` when executed as:
```
minici run
```
@@ -132,6 +138,8 @@ Where `<commit-expr>` can be:
* `lasttag(<pattern>)`, which from all the tags matching `<pattern>`, selects
the last created one (as given by the `tagger` date in tag object);
+* `upstream(<branch>)` refers to the upstream (remote) branch of the given `<branch>`;
+
* `watch(<commit-expr>)` is analogous to `watch` for `<range-expr>`.
And `<pattern>` is a shell glob pattern, as implemented