简体   繁体   中英

Mercurial(hg) copying part of repository into another rpository

I have two repositories: Repository A is empty.

Repository B with:

module1
module2
module3

How i can copy module1 from repository B into repository A with all relevant commit history?

  • Convert /module1 into independent repo
  • Force pull (because they are unrelated) module1-repo to A

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM