Informative git status prompt formatter (xonsh.prompt.gitstatus
)¶
Informative git status prompt formatter
-
class
xonsh.prompt.gitstatus.
GitStatus
(branch, num_ahead, num_behind, untracked, changed, conflicts, staged, stashed, operations)¶ Create new instance of GitStatus(branch, num_ahead, num_behind, untracked, changed, conflicts, staged, stashed, operations)
-
count
($self, value, /)¶ Return number of occurrences of value.
-
index
($self, value, start=0, stop=sys.maxsize, /)¶ Return first index of value.
Raises ValueError if the value is not present.
-
branch
¶ Alias for field number 0
-
changed
¶ Alias for field number 4
-
conflicts
¶ Alias for field number 5
-
num_ahead
¶ Alias for field number 1
-
num_behind
¶ Alias for field number 2
-
operations
¶ Alias for field number 8
-
staged
¶ Alias for field number 6
-
stashed
¶ Alias for field number 7
-
untracked
¶ Alias for field number 3
-