When using git archive to export files, an error will be reported when a deleted file is encountered. How to solve it?
大家讲道理
大家讲道理 2017-05-02 09:47:45
0
2
992

1. First use git log --name-only to list changed files (this includes modified, deleted, and newly added files)

2. Then use git archive to export the files listed in the first step. If a deleted file is encountered at this time, it will report fatal:pathspec 'xxxxxx.txt' did not match any files

How to solve this problem, because it affects the git archive export and no longer executes.

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(2)
仅有的幸福

I think your git archive command may not work, right? There may be something wrong with the format. By the way, why don't you post your detailed command format? In this way we can prescribe the right medicine!

習慣沉默

Has no one encountered it?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template