想一下,都做了啥呀
git diff HEAD BversionNo --name-only | xargs zip update.zip
xargs不识别
然后重新装git bash
然后遇到了line endings conversion方式的选择,然后看到CR LF,想查下区别
As indicated by Peter, CR = Carriage Return and LF = Line Feed, two expressions have their roots in the old typewriters / TTY. LF moved the paper up (but kept the horizontal position identical) and CR brought back the "carriage" so that the next character typed would be at the leftmost position on the paper (but on the same line). CR+LF was doing both, i.e. preparing to type a new line. As time went by the physical semantics of the codes were not applicable, and as memory and floppy disk space were at a premium, some OS designers decided to only use one of the characters, they just didn't communicate very well with one another ;-)
Most modern text editors and text-oriented applications offer options/settings etc. that allow the automatic detection of the file's end-of-line convention and to display it accordingly
然后继续回来装git bash
然后继续执行xargs
结果还是用不了,哈哈,继续