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: add option to fetch remote history periodically #17

Open
thinkniko opened this issue Apr 7, 2021 · 0 comments
Open

Comments

@thinkniko
Copy link

I've previously used: https://github.com/magicmonty/bash-git-prompt

It was nice that by default after 5 minutes it would do a git fetch in the repository so your newest prompt would show if you were behind commits in the current branch from the remote.

Just search for GIT_PROMPT_FETCH_TIMEOUT in that repo for the implementation.

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