git - Find the most recently introduced file -


using git, how can find newest file?

note not same changed file, commit introduced file.

git log --diff-filter=a 

this reveals commits introduced file. can modified show last commit introduced file

git log --diff-filter=a -1 

or printing diff of file

git log --diff-filter=a -p 

or stat

git log --diff-filter=a --stat 

example


Comments

Popular posts from this blog

php - render data via PDO::FETCH_FUNC vs loop -

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

The canvas has been tainted by cross-origin data in chrome only -