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, deleted, conflicts, staged, stashed, operations)¶ Create new instance of GitStatus(branch, num_ahead, num_behind, untracked, changed, deleted, conflicts, staged, stashed, operations)
-
count(value, /)¶ Return number of occurrences of value.
-
index(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 6
-
deleted¶ Alias for field number 5
-
num_ahead¶ Alias for field number 1
-
num_behind¶ Alias for field number 2
-
operations¶ Alias for field number 9
-
staged¶ Alias for field number 7
-
stashed¶ Alias for field number 8
-
untracked¶ Alias for field number 3
-