vcs/git
Git Archive, Export
C/H
2016. 6. 27. 08:30
- git-archive
- Do a “git export” (like “svn export”)?
- Announcing SVN Support - github.com
- Gitlab error “fatal: The remote end hung up unexpectedly” - git post 버퍼사이즈 문제
- The remote end hung up unexpectedly while git cloning
Export, Archive
svn export . otherpath git archive branchname | (cd otherpath; tar x) svn export url otherpath git archive --remote=url branchname | (cd otherpath; tar x) git archive master | tar -x -C /somewhere/else git archive master | bzip2 >source-tree.tar.bz2 git archive --format zip --output /full/path/to/zipfile.zip master git archive --remote git archive --format=tar -9 --remote=git://github.com/uncaose/straight-ci-layout.git HEAD > straight-ci-layout.tgz
Buffer Error
git archive --format=tar -9 --remote=git://github.com/uncaose/straight-ci-layout.git HEAD > straight-ci-layout.tgz fatal: The remote end hung up unexpectedly git config --global http.postBuffer 1048576000 git archive --format=tar -9 --remote=git://github.com/uncaose/straight-ci-layout.git HEAD > straight-ci-layout.tgz
위 명령으로도 같은 에러가 발생한다면 ssh키를 등록하지 않아서 발생하는 문제로 아래 svn export를 이용하면 퍼미션을 신경쓰지 않고 소스를 다운 받을 수 있다.
Gighub Svn Support
svn export https://github.com/uncaose/straight-ci-layout/trunk ./straight-ci-layout svn ls https://github.com/jquery/jquery/trunk svn ls https://github.com/jquery/jquery/branches/2.1-stable svn ls https://github.com/jquery/jquery/tags/2.1.3
반응형