Is there any way to know which file, in a given Git commit, was created first and list said files in order they were created?
Note that their dates are equal to the commit date and we cannot use that date.
Imagine I have 3 files in 1 commit : a.js
, b.js
and c.js
.
And they are not related to each other, so we can use their dependencies.
What should I do to achieve that goal?
I already tried to use git log
, but the output is not in any specific order.
And I tried to use the file date in commit, but they were all the same, as mentioned before.