New candidate JEP: 357: Migrate from Mercurial to Git

Joe Darcy joe.darcy at oracle.com
Fri Jul 26 00:47:53 UTC 2019


On 7/15/2019 5:02 PM, Joe Darcy wrote:
> Hi Jon,
>
> On 7/15/2019 2:55 PM, Jonathan Gibbons wrote:
>>
>> On 7/15/19 1:10 PM, Joe Darcy wrote:
>>> Additionally, if there is interest, the Skara team could do a "git 
>>> for recalcitrant hg users" online talk. 
>>
>> Joe,
>>
>> How about just a basic OpenJDK-oriented cheatsheet ... for the common 
>> operations that OpenJDK folk are used to doing in Mercurial, show the 
>> equivalent for Git.
>>
>
> Sure; we can produce a cheat sheet for simple cases at least.
>
PS Start of a cheat sheet below; see 
https://github.com/sympy/sympy/wiki/Git-hg-rosetta-stone for more 
information.

HTH,

-Joe

Hg

	

Git

hg clone HgURL

	

git clone GitURL

hg help command

	

git help command

hg status

	

git status

hg add

	

git add

hg rm

	

git rm

hg pull -u

	

git pull

hg export

	

git format-patch

hg push

	

git push

~/.hgrc

	

~/.gitconfig



More information about the discuss mailing list