login
Header Space

 
 

[OT] Your branch is ahead of the tracked remote branch 'origin/master' by 50 commits.

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

i recently switched to 1.5.6.1.89.gd5446 and i'm getting this:

  Switched to branch "master"
  Your branch is ahead of the tracked remote branch 'origin/master' by 50 commits.

it's a very useful detail! It's especially useful when two branches 
diverge in a non-trivial way.

I used to have ad-hoc scripts to discover this in the past:

 earth4:~/tip> tip-compare-remote
 master                        : differs from remote (-50 commits)
 tip                           : differs from remote (-1 commits)
 x86/ptrace                    : differs from remote (-1 commits)
 x86/unify-setup               : differs from remote (-2 commits)
 x86/xen-64bit                 : differs from remote (-1 commits)

but having a reminder at checkout time is even better (and faster as 
well). Kudos.

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[OT] Your branch is ahead of the tracked remote branch 'orig..., Ingo Molnar, (Tue Jul 1, 5:13 am)
speck-geostationary