EnglishFrenchSpanish

Ad


OnWorks favicon

git-hg - Online in the Cloud

Run git-hg in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command git-hg that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


git-hg - tool for tracking Hg repos in Git

DESCRIPTION


git-hg can be used to transparently track Mercurial repositories in Git ones.

USAGE


To clone a mercurial repo run:
clone <path/to/mercurial/repo> [local_checkout_path]

If that fails (due to unnamed heads) try:
clone --force <path/to/mercurial/repo> [local_checkout_path]

To work with a cloned mercurial repo use:
fetch [ --force ]
fetch latest branches from mercurial

pull [ --force ] [--rebase]
fetch and merge (or rebase) the into the current branch

push [destination]
push latest changes to mercurial

checkout [ --force ] branch_name
checkout a mercurial branch

Use git-hg online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad