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(value) → integer -- return number of occurrences of value¶
-
index(value[, start[, stop]]) → integer -- return first index of value.¶ Raises ValueError if the value is not present.
-
property
branch¶ Alias for field number 0
-
property
changed¶ Alias for field number 4
-
property
conflicts¶ Alias for field number 5
-
property
num_ahead¶ Alias for field number 1
-
property
num_behind¶ Alias for field number 2
-
property
operations¶ Alias for field number 8
-
property
staged¶ Alias for field number 6
-
property
stashed¶ Alias for field number 7
-
property
untracked¶ Alias for field number 3
-