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

Feature request: show how many commits you are behind by with tracking branch #41

Open
shreyasbharath opened this issue Jul 11, 2018 · 3 comments

Comments

@shreyasbharath
Copy link

shreyasbharath commented Jul 11, 2018

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?

@AmrEldib
Copy link
Owner

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.

@shreyasbharath
Copy link
Author

shreyasbharath commented Aug 18, 2018

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.

@mattdkerr
Copy link
Contributor

this is duplicate of #30

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

No branches or pull requests

3 participants