issues
search
amtoine
/
nu-git-manager
A collection of Nushell tools to manage Git repositories.
GNU General Public License v3.0
26
stars
2
forks
source link
add a "Git changes" segment to the prompt
#133
Closed
amtoine
closed
9 months ago
amtoine
commented
9 months ago
wait for
122 (to include a test and make sure the changes appear in the prompt)
changelog
refactor the short Git status into
git/lib get-status
adds a segment containing Git changes
details
if there are no changes in the index, the prompt won't add anything.
if there are changes, they will appear after the
(branch:commit)
segment inside
[...]
in order
staged changes will show up as one
_
unstaged changes will show up as one
!
untracked changes will show up as one
?
wait for
122 (to include a test and make sure the changes appear in the prompt)
changelog
git/lib get-status
details
(branch:commit)
segment inside[...]
_
!
?