mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 04:54:03 -08:00
docs(git): add Ref information
This commit is contained in:
parent
f2ccee6df6
commit
0deccc956e
|
@ -119,6 +119,7 @@ instead of the repo path.
|
||||||
- `.Working`: `GitStatus` - changes in the worktree (see below)
|
- `.Working`: `GitStatus` - changes in the worktree (see below)
|
||||||
- `.Staging`: `GitStatus` - staged changes in the work tree (see below)
|
- `.Staging`: `GitStatus` - staged changes in the work tree (see below)
|
||||||
- `.HEAD`: `string` - the current HEAD context (branch/rebase/merge/...)
|
- `.HEAD`: `string` - the current HEAD context (branch/rebase/merge/...)
|
||||||
|
- `.Ref`: `string` - the current HEAD reference (branch/tag/...)
|
||||||
- `.Behind`: `int` - commits behind of upstream
|
- `.Behind`: `int` - commits behind of upstream
|
||||||
- `.Ahead`: `int` - commits ahead of upstream
|
- `.Ahead`: `int` - commits ahead of upstream
|
||||||
- `.BranchStatus`: `string` - the current branch context (ahead/behind string representation)
|
- `.BranchStatus`: `string` - the current branch context (ahead/behind string representation)
|
||||||
|
|
Loading…
Reference in a new issue