On Tuesday, May 9, 2017 at 5:40:48 PM UTC-7, ashok.s...@gmail.com wrote:
>
>
> git log --oneline branch-name -->  It lists all the commits. Is there a 
>> filter option with git log to filter only mentioned branch (branch-name) 
>> commits?
>>
>
> git checkout master
> git log --oneline master..1.2.3-rel
> Not giving all the commits of 1.2.3-rel tag
>
> git checkout master
> git log --oneline 1.2.3-rel..1.2.4-rel
> unknown revision or path not in the working tree
> Use '--' to separate paths from revisions
>
>
> git checkout master
> git log --oneline Master..1.2.4-rel
> Not giving all the commits of 1.2.4-rel tag
>
> git checkout master
> git log --oneline origin/master..1.2.4-rel
> Not giving all the commits of 1.2.4-rel tag
>
> git checkout master
> git log --oneline 1.2.4-rel ^master
> Not giving all the commits of 1.2.4-rel tag
>
>
> git log --oneline 1.2.4-rel ^master ^origin/master
> Not giving all the commits of 1.2.4-rel tag
>


What do you mean by "all the commits of 1.2.4-rel tag"?   E.g., if a commit 
is present both in master's history as well as 1.2.4-rel's history, do you 
want to see it or not?

And is this helpful at all?  (With --graph and --decorate options added, as 
well as --date-order, and asking specifically for branch tips master, 
origin/master, 1.2.3-rel, and 1.2.4-rel, and all commits the precede these 
branch tips.)

git fetch
git log --oneline --graph --decorate --date-order origin/master master 
1.2.3-rel 1.2.4-rel




 

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to