tar czf dist.tgz --exclude=".gitignore" 。
这会在 tar 中创建以“./”开头的文件,当服务器需要提取部分 tar 时,这会导致问题。
有人能告诉我如何打包它以便不会有前导“./”吗?
tar
tar ×1