It's not clear how git ls-files using wildcards actually functions.
I started with the git ls-files *.* command which works okay. It shows all the files under version control in all the underlying subdirectories
But now I want to select a set of files. Example : "Device_*.xml"
So I execute git ls-files Device_*.xml but this gives no result?!
I am aware the command is case sensitive. What is wrong? Below is the list of command's I execute with the output. Git version used : 2.6.1.windows.1
D:\GIT\repo>git clean -xdf
D:\GIT\repo>git reset --hard
HEAD is now at 7de8f5b [IP-826-generic-configuration-management-ticket] Merge remote-tracking branch 'origin' into IP-826-generic-configuration-management-ticket
D:\GIT\repo>git status
On branch IP-826-generic-configuration-management-ticket
Your branch is up-to-date with 'origin/IP-826-generic-configuration-management-ticket'.
Untracked files:
  (use "git add <file>..." to include in what will be committed)
nothing added to commit but untracked files present (use "git add" to track)
 D:\GIT\repo\Imagepipe\SettingsDB\GeneratedDevicesAllPlatforms>dir Device_*.xml /s
<LOT OF DEVICE_*.xml FILES HERE> 
12/10/2015  10:46               681 Device_GeneratedDevices_0-0-0_0.xml
1 File(s)            681 bytes
 Directory of            D:\GIT\repo\Tools\DevTools\SettingsGenerator\SLIB2_GenerateSettings\Test\DB7\GeneratedDevices\D1
12/10/2015  10:46             1,997 Device_D1_0-0-0_0.xml
1 File(s)          1,997 bytes
 Directory of     D:\GIT\repo\Tools\DevTools\SettingsGenerator\SLIB2_GenerateSettings\Test\DB7\S_NOCHECK
12/10/2015  10:46             1,558 Device_S_NOCHECK_0-0-0_0.xml
1 File(s)          1,558 bytes
 Directory of     D:\GIT\repo\Tools\DevTools\SettingsGenerator\SLIB2_GenerateSettings\Test\DB7\S_TEST
12/10/2015  10:46             1,536 Device_S_TEST_0-0-0_0.xml
1 File(s)          1,536 bytes
Total Files Listed:
         968 File(s)     14,032,982 bytes
           0 Dir(s)  18,400,256,000 bytes free
D:\GIT\repo>git ls-files Device_*.xml
D:\GIT\repo>
**No result!** 
 
     
    