I don’t see three dots when I do the “git diff –name-status branch-1 branch-2”
But what I’m also finding is that the diff report is not accurate in this case: Master –> Branch-1 Branch-1 --> Branch-2 The diff for master to and from branch-1 is accurate The diff for branch-1 to and from branch-2 is accurate The diff for master to and from branch-2 is completely wrong Is there a better way to find the changes/diff between 2 branches? Thanks very much 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 From: git-users@googlegroups.com <git-users@googlegroups.com> On Behalf Of Philip Oakley Sent: Saturday, June 20, 2020 5:01 PM To: Git for human beings <git-users@googlegroups.com> Subject: [git-users] Re: Git - how to determine what files changes 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 <mailto: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 <mailto: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 <https://groups.google.com/d/msgid/git-users/454e6368-6c62-4bbd-a953-65c8c1604b48o%40googlegroups.com?utm_medium=email&utm_source=footer> . -- 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/023701d6489a%24e86d02b0%24b9470810%24%40gmail.com.