Skip to content

Commit

Permalink
Provide correct instructions to build github/hub
Browse files Browse the repository at this point in the history
See #1404, closes #1929 [ci skip]
  • Loading branch information
jhford authored and mislav committed Nov 2, 2018
1 parent 2c564f6 commit ad861c2
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,15 @@ in your executable path.

With your [GOPATH](https://github.com/golang/go/wiki/GOPATH) already set up:

``` sh
$ go get github.com/github/hub
$ cd "$GOPATH"/src/github.com/github/hub
$ make install prefix=/usr/local
```sh
mkdir -p "$GOPATH"/src/github.com/github
git clone \
--config transfer.fsckobjects=false \
--config receive.fsckobjects=false \
--config fetch.fsckobjects=false \
https://github.com/github/hub.git "$GOPATH"/src/github.com/github/hub
cd "$GOPATH"/src/github.com/github/hub
make install prefix=/usr/local
```

Prerequisites for compilation are:
Expand Down

0 comments on commit ad861c2

Please sign in to comment.