cmder-powerline-prompt
cmder-powerline-prompt copied to clipboard
Feature request: show how many commits you are behind by with tracking branch
This would be really handy and remind you to rebase/merge if you are behind with your tracking branch.
It could poll in the background every X minutes/seconds (this is what Git GUIs like SourceTree do in the background).
What do you think?
Just to clarify, the prompt would do a git status
and add a symbol/number if it's behind the remote branch?
Note that the prompt can't run any background process, it gets invoked every time you hit Enter and a new prompt is displayed on screen. That's the only chance to run any code.
Yea that's correct, basically show how many commits it's behind by.
Okay I wasn't aware that you could only run code only when you hit Enter. However, that limitation is okay.
What do you think? I would personally find this very useful as I don't want to rely on any GUI tools to tell me when to rebase with the tracking branch.
this is duplicate of https://github.com/AmrEldib/cmder-powerline-prompt/issues/30