• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: Get list of all edited files since branching

Resolved: Get list of all edited files since branching

0
By Isaac Tonny on 17/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

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).

Answer:

Assuming you are on the branch now, and the master branch is called master, you would say
The three dots cause the comparison to be with the point where you branched from master, and the diff --name-only lists 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 diff from how it works in log), so it can be annoyingly tricky to remember.

If you have better answer, please add a comment about this, thank you!

git git-branch git-history
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: How to make statement case insensitive when uploading a dta file with specified columns?

27/03/2023

Resolved: Sort dataframe columns value by close it to another column

27/03/2023

Resolved: PostgreSQL resample 1 minute OHLCV candle data into 5 minute OHLCV candle data

27/03/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.