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# - Avoiding duplicate methods for Task and Task<T> -

javascript - Which segment of a polyline was clicked? -