git에는 git 리포지토리를 1 개의 큰 파일로 묶는 'git bundle'명령이 있습니다. 'hg'와 동일한 명령이 있습니까?git 번들에 대한 hg 명령
0
A
답변
4
Hg는 동일한 명령을 지원합니다. 여기에 대한 도움이 있습니다 :
U:\>hg help bundle hg bundle [-f] [-t TYPE] [-a] [-r REV]... [--base REV]... FILE [DEST] create a changegroup file Generate a compressed changegroup file collecting changesets not known to be in another repository. If you omit the destination repository, then hg assumes the destination will have all the nodes you specify with --base parameters. To create a bundle containing all changesets, use -a/--all (or --base null). You can change compression method with the -t/--type option. The available compression methods are: none, bzip2, and gzip (by default, bundles are compressed using bzip2). The bundle file can then be transferred using conventional means and applied to another repository with the unbundle or pull command. This is useful when direct push and pull are not available or when exporting an entire repository is undesirable. Applying bundles preserves all changeset contents including permissions, copy/rename information, and revision history. options: -f --force run even when the destination is unrelated -r --rev a changeset intended to be added to the destination -b --branch a specific branch you would like to bundle --base a base changeset assumed to be available at the destination -a --all bundle all changesets in the repository -t --type bundle compression type to use (default: bzip2) -e --ssh specify ssh command to use --remotecmd specify hg command to run on the remote side
역방향 명령은 hg unbundle입니다.
+1
전체 설명서에서이 링크에 대한 링크입니다. http://www.selenic.com/mercurial/hg.1.html#bundle –
+1
그래, 그것은 Mercurial에서 같은 이름을 가지고있다 ... Git이 Mercurial에서 번들 명령어를 얻었 기 때문에 우연이 아니다 :-) –
관련 문제
- 1. 번들에 대한 전이 의존성?
- 2. Mercurial 저장소 - 서버의 자동 hg add/hg commit 명령
- 3. git push 명령 확인
- 4. JRE 번들에 대한 JSmooth 질문
- 5. 예쁜 hg 분기 그래프
- 6. MS Windows의 HG Workbench와 같은 Git GUI
- 7. hg clone git : .... abort : 연결에 실패 했습니까?
- 8. 'git log --graph'또는 'hg graphlog'는 어떻게 작동합니까?
- 9. Hg/Git 저장소 손상 문제는 얼마나됩니까?
- 10. 원격 hg 저장소에 대한 태그 표시
- 11. OSGi에서 번들에 대한 액세스를 보호하는 방법이 있습니까?
- 12. hg 메모와 동등한 내용입니다.
- 13. Git 또는 Hg 또는 최신 VCS에서 WebDAV 자동 버전 관리
- 14. C에서 명령 줄 응용 프로그램 번들에 액세스하는 방법
- 15. Hg, SVN 또는 git 용 콘솔 인터페이스 활용
- 16. git checkout에 대한 혼란
- 17. git에서 나침반 번들에 Capistrano 오류가 발생했습니다.
- 18. hg 역 동성이 일치
- 19. hg 태그와 hg 책갈피의 차이점은 무엇입니까?
- 20. 다중 hg 저장소를 여러 저장소가있는 단일 git 저장소로 변환합니다.
- 21. hg convert를 사용하여 git 브랜치를 mercurial로 가져 오는 방법은 무엇입니까?
- 22. 은`hg forget`을`git rm --cached`와 같은 것입니까?
- 23. OSGi 번들에 GWT를 통합하려고합니다.
- 24. hg 중앙 저장소에 대한 액세스 제어
- 25. 수정 버전 문제에 대한 HG 업데이트
- 26. hg up -C와 동등한 것
- 27. 여러 명령을 실행하는 hg 명령 별칭을 만드는 방법은 무엇입니까?
- 28. Mac 번들에 글꼴 포함
- 29. 번들에 문자열을 두는 방법
- 30. hg 클론은 hg (init → pull)와 같습니다.
이 질문을하기 전에 어떤 연구를하셨습니까? 왜 Mercurial에서 같은 명령을 찾지 못한 이유에 대해 혼란 스럽기 때문에 나는 이것을 묻습니다. [email protected]을 작성하고 문서를 개선 할 필요가있는 곳을 지적하면 도움이 될 것입니다. 고맙습니다. –