Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure fancy git to show the number of changed/staged files #154

Open
henhal opened this issue Jul 3, 2024 · 0 comments
Open

Configure fancy git to show the number of changed/staged files #154

henhal opened this issue Jul 3, 2024 · 0 comments

Comments

@henhal
Copy link

henhal commented Jul 3, 2024

New user of fancy-git here and loving it.
However, before using fancy-git I used my homemade bash script to modify PS1 with some data from git. Specifically, my prompt would look a bit like this:

user@host /some/path (branch) (2 changed) (3 staged) $

I really do miss the possibility to see how many file I've just added to the index using git add -u, to avoid mistakes.
Is it possible to configure fancy-git to do this?
Or could I easily patch the prompt with my own additions? Is there a guide on how to add custom changes to the prompt?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant