Skip to content
This repository was archived by the owner on Dec 11, 2019. It is now read-only.

Mention wget as an alternative to curl #1

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions README.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,17 @@ repositories as if they were Git ones:
git clone "hg::http://selenic.com/repo/hello"
--------------------------------------

To enable this, simply add the 'git-remote-hg' script anywhere in your `$PATH`:
To enable this (e.g. under Linux), simply add the 'git-remote-hg' script anywhere in your `$PATH`:

--------------------------------------
curl -o ~/bin/git-remote-hg https://raw.githubusercontent.com/felipec/git-remote-hg/master/git-remote-hg
wget https://raw.github.com/fingolfin/git-remote-hg/master/git-remote-hg -O ~/bin/git-remote-hg
chmod +x ~/bin/git-remote-hg
--------------------------------------

If your system does not have wget, but curl (like Mac OS X 10.9), add the 'git-remote-hg' script anywhere in your `$PATH`:

--------------------------------------
curl -o ~/bin/git-remote-hg http://raw.githubusercontent.com/fingolfin/git-remote-hg/master/git-remote-hg
chmod +x ~/bin/git-remote-hg
--------------------------------------

Expand Down