Hg-Git Mercurial Plugin
Clone a Git repository
hg clone git://github.com/schacon/some-repo.gitLike with normal hg clone, you can optionally specify a destination directory.
Push an existing Hg repository to Git
$ cd mercurial-repo $ hg bookmark -r default master # so a ref gets createdTo avoid specifying the repo path when you push and pull, edit .hg/hgrc and add:
[paths] default = git+ssh://[email protected]/schacon/some-repo.gitSee the Mercurial docs for more detail on path settings.
$ hg pushThis will convert all Mercurial data into Git objects and push them up to the Git server.
$ hg pullThat will pull down any commits that have been pushed to the server in the meantime and give you a new head that you can merge in.
Từ khóa » Hg 2 Git
-
Migrating To Git
-
Convert Mercurial Project To Git [duplicate] - Stack Overflow
-
How To Convert A Mercurial Repository To Git On Windows
-
Convert A Mercurial Repository To Git Using Hg-fast-export - DZone
-
Mercurial To Git Bridge, Pushed To Directly From The Hg-git Plugin In Hg
-
A Git-hg Utility For Checking Out And Tracking A Mercurial Repo. - GitHub
-
Hg-git - PyPI
-
What I Learnt Migrating To Git From Mercurial (updated June 2020)
-
Mercurial Vs. Git: How Are They Different? - Perforce Software
-
Mercurial SCM
-
Hg-git Package : Ubuntu - Launchpad
-
Migrating 140000 Commits From Mercurial To Git - Medium
-
PEP 512 – Migrating From To GitHub
-
How To Create Patch Series On Mercurial And Git - Redmine