Created
March 31, 2017 12:02
-
-
Save julianguarinautoformax/ac21ea4e8057e87aad782289a88ad8d9 to your computer and use it in GitHub Desktop.
Git: Check files under git version control (the actual ones)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#This one is for the ones actually being tracked by git. | |
git ls-tree -r master --name-only | |
#If you want a list of files that ever existed (i.e. including deleted files): | |
git log --pretty=format: --name-only --diff-filter=A | sort - | sed '/^$/d' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment