如何导出git repo?

时间:2018-02-15 23:33:34

标签: git export

根据这个:Do a “git export” (like “svn export”)?,这张照片有什么问题?:

user@machine /cygdrive/c/Ws/PROJECT_master_coverage : git archive master | bzip2 > /cygdrive/c/Ws/PROJECT_master_coverage.tar.bz2
fatal: Not a valid object name

user@machine /cygdrive/c/Ws/PROJECT_master_coverage : git archive --format zip --output /cygdrive/c/Ws/PROJECT_master_coverage.zip master
fatal: Not a valid object name

user@machine /cygdrive/c/Ws/PROJECT_master_coverage : git archive master | tar -x -C /cygdrive/c/Ws/PROJECT_master_coverage.tgz
fatal: Not a valid object name
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

0 个答案:

没有答案