简体   繁体   中英

After converting from Hg to Git, how do I remove the Hg source control?

I converted from Hg Git per this blog , which worked fine.

Now I have:

Code\
   -\.git
   -\.hg

I don't need the .hg repo anymore. Can I just to the following?

  1. Delete the .hg folder
  2. Uninstall Hg (and TortoiseHg)

Yes, you can do that. .hg folder only contains information needed by mercurial, git doesn't need that for anything. Everything git needs is in .git folder.

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