What is the Windows command for using git ls-files to copy modified files? -
on unix machine can run:
cp $(git ls-files --modified) ../modified-files
to copy modified files directory. i'd on windows command line. (this command doesn't work).
my question is: what windows command using git ls-files copy modified files?
edit:
git version is: git version 1.9.5.msysgit.0
clarification: issue isn't whether git ls-files
command works or not - question how pass list of files copy command.
this worked out:
for /f %i in ('git ls-files --modified') set a=%i | copy %a:/=\% c:\temp
Comments
Post a Comment