docs(git): add UpstreamGone reference

This commit is contained in:
Jan De Dobbeleer 2022-02-04 19:21:02 +01:00 committed by Jan De Dobbeleer
parent 40c9127951
commit 39e7a935eb

View file

@ -112,6 +112,7 @@ You can set the following properties to `true` to enable fetching additional inf
- `.Ahead`: `int` - commits ahead of upstream
- `.BranchStatus`: `string` - the current branch context (ahead/behind string representation)
- `.Upstream`: `string` - the upstream name (remote)
- `.UpstreamGone`: `boolean` - whether the upstream is gone (no remote)
- `.UpstreamIcon`: `string` - the upstream icon (based on the icons above)
- `.UpstreamURL`: `string` - the upstream URL for use in [hyperlinks][hyperlinks] in templates: `{{ url .UpstreamIcon .UpstreamURL }}`
- `.StashCount`: `int` - the stash count