Do you mean that you simply need to get the direct difference between A and 
B.

Or do you mean you want to see hwat changed in A since B was forked, and 
like wise what changed in B since that same fork point?

Have a look for the three dot `...` notation to get a fork point and also 
the boundary (`<, >`) indications of left side and right side.

Hope that helps for a hint when cross checking with the various man pages.

Philip.

On Saturday, June 20, 2020 at 5:12:18 PM UTC+1, lbd...@gmail.com wrote:
>
> Is there a command that will show the files that changed when changing 
> branches?
>
>  
>
> I want to have an easy way to tell which files have changed when I switch 
> from Branch A to Branch B, or vice versa.
>
>  
>
> This seems to work but I can’t easily tell which files changed in which 
> branch (or I’m just not seeing it):
>
>  
>
> git diff --name-status branch1 branch2
>
>  
>
>  
>
> Thank you
>
>  
>
>  
>
> Lionel B. Dyck <sdg><
> Website: https://www.lbdsoftware.com
>
> "Worry more about your character than your reputation.  Character is what 
> you are, reputation merely what others think you are." - John Wooden
>
>  
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/454e6368-6c62-4bbd-a953-65c8c1604b48o%40googlegroups.com.

Reply via email to