Comments on Get notified when there are unmerged changes from origin
Post
Get notified when there are unmerged changes from origin
+4
−0
Sometimes I work with Git repos that have some changes fetched but not yet merged to the local branch. Occasionally I make commits without noticing this, which necessitates rebase/conflict resolution.
I would like to be notified when I'm working with a Git repository such as this. Is there a way to configure either Git or my shell (fish) to automatically print a message like below?
Warning: Local branch is not even with upstream, merge changes to rectify.
It doesn't have to be a message, just any reasonable way of notifying me will do.
1 comment thread