Skip to content

Instantly share code, notes, and snippets.

@kix
Created March 19, 2015 05:58
Show Gist options
  • Save kix/3b473723df4ef717dc67 to your computer and use it in GitHub Desktop.
Save kix/3b473723df4ef717dc67 to your computer and use it in GitHub Desktop.
Mercurial submodule cookbook
$ mkdir subrepos
$ cd subrepos
$ hg init
$ echo "wp-content/plugins/sphinx=ssh://[email protected]/ivinco/wordpress-sphinx-search-plugin" > .hgsub
$ hg add .hgsub
$ hg clone ssh://[email protected]/ivinco/wordpress-sphinx-search-plugin wp-content/plugins/sphinx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment