Differences between revisions 1 and 2
Revision 1 as of 2020-06-08 21:14:20
Size: 462
Editor: PeterSuter
Comment:
Revision 2 as of 2020-06-09 17:46:23
Size: 757
Comment: need to use some git commands still
Deletions are marked like this. Additions are marked like this.
Line 22: Line 22:
In the Mercurial 5.4 release:

 * {{{git(1)}}} must be used for all network operations (clone, push, pull).
 * Only local branches are presented in Hg (as bookmarks). Use 'git branch -t remotes/origin/branchname' to see more upstream branches as bookmarks.

Example:
Line 31: Line 38:
git push
git pull

git

Operate on Git repositories.

1. Status

This extension is distributed with Mercurial as experimental.

Author: Augie Fackler

2. Overview

This extension grants Mercurial the ability to operate on Git repositories.

Requires pygit2.

3. Usage

In the Mercurial 5.4 release:

  • git(1) must be used for all network operations (clone, push, pull).

  • Only local branches are presented in Hg (as bookmarks). Use 'git branch -t remotes/origin/branchname' to see more upstream branches as bookmarks.

Example:

git clone git://...
hg init --git
hg status
hg log
hg bookmarks
hg diff
hg add
hg commit
git push
git pull
...

GitExtension (last edited 2020-09-24 17:33:01 by timeless)