1

Can I get Emacs to indicate on the mode-line whether a push is needed, i.e. whether the repo is out of sync with origin?

I've already got it telling me if a commit is needed using vc-status, but that doesn't indicate whether the most recent commit locally has been pushed to origin.

(I've got something similar going on with my oh-my-zsh prompt via ZSH_THEME_GIT_PROMPT_AHEAD_REMOTE, and I'd love to duplicate that within Emacs.)

Drew
  • 75,699
  • 9
  • 109
  • 225
Vultan
  • 121
  • 2

0 Answers0