Re: finding unmerged branches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Avery Pennarun wrote:
> How about:
> 
> gitk $(git for-each-ref --format='%(refname)' 'refs/remotes/'; git
> for-each-ref --format='^%(refname)' 'refs/heads/')
> 
> You could also replace 'gitk' with 'git log', and mess with the
> --pretty=format:whatever parameter.

I added 'refs/remotes/origin/' 'refs/tags/' to the list, and that's
almost perfect, thanks.

Though there was one remote branch where gitk showed a lot of commits
from origin/master before the unmerged changes in the branch. Could not
figure out why, git log doesn't show them.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]