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
Show staged and unpushed changes #775
Comments
yes, |
Gitsigns already seems to have support for showing staged changes, but I can't seem to get it to work... is it still experimental? |
@lewis6991 For some reason, it doesn't work for me. A sign simply disappears after the stage. Is there anything else is required to make it work? |
No, not really. There could be a bug. |
Why does the |
Yes, that is correct. It is still experimental and hence is not documented. That is why this issue is still open. |
@lewis6991 |
Is your feature request related to a problem? Please describe.
It would be nice if we could also see the changes that are staged but not yet committed, and the changes that have not yet been pushed to the remote branch that the current branch is tracking.
Describe the solution you'd like
We could add more signs in an additional sign column:
staged
for changes ingit diff --staged
unpushed
for changes that have been committed but are not yet pushed to the tracked branch, similar to setting thebase
to@{upstream}
.Or alternatively allow the user to configure multiple bases with a custom git diff command.
Describe alternatives you've considered
base
option.base = "@{upstream}"
can show unpushed changes but then you can't differentiate between unstaged code and committed code. Settingbase = "HEAD..@{upstream}"
can show unpushed commits but then you can't see unstaged code.The text was updated successfully, but these errors were encountered: