I'd like to get a list of edited files since branching from my master branch (not comparing to the most recent head of master branch, but master at the point of branching).
Is this possible?
This seems like it'd be a pretty common thing to want to do, but my colleagues didn't know of git command for this, and didn't find anything online (it's kinda hard to google i guess).
Assuming you are on the branch now, and the master branch is called
master, you would sayThe three dots cause the comparison to be with the point where you branched from master, and the
diff --name-onlylists filenames only.Footnote
Some good Stack Overflow bookmarks to keep on hand are:
What are the differences between double-dot ".." and triple-dot "..." in Git diff commit ranges?
What are the differences between double-dot ".." and triple-dot "..." in Git commit ranges?
The dot-notation means different things in different contexts (notably, it works differently in
difffrom how it works inlog), so it can be annoyingly tricky to remember.