Hg
From Attie's Wiki
(Difference between revisions)
m |
|||
Line 1: | Line 1: | ||
My Mercurial cheat sheet! See also: [[git]] and [[svn]] | My Mercurial cheat sheet! See also: [[git]] and [[svn]] | ||
+ | |||
+ | ==Default Push== | ||
+ | If you create a local repository, and later want to push it to a remote repo, then you'll need to setup the default-push target.<br> | ||
+ | Put the following in your <code>./.hg/hgrc</code> file: | ||
+ | <code lang="ini"> | ||
+ | [paths] | ||
+ | default = ${REMOTE_REPO} | ||
+ | </code> |
Revision as of 09:39, 29 July 2014
My Mercurial cheat sheet! See also: git and svn
Default Push
If you create a local repository, and later want to push it to a remote repo, then you'll need to setup the default-push target.
Put the following in your ./.hg/hgrc
file:
[paths]
default = ${REMOTE_REPO}