Skip to content

Commit

Permalink
doc: mention packages can be installed from a commit-ish
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgebucaran committed Oct 8, 2018
1 parent 206ecf7 commit 56e45ef
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Expand Up @@ -88,19 +88,19 @@ Install packages using the `add` command.
fisher add jethrokuan/z rafaelrinaldi/pure
```

Packages will be downloaded from GitHub if the name of the host is not specified. To install a package hosted anywhere else use the address of the remote server and the path to the repository.
Packages will be downloaded from GitHub if the name of the host is not specified. To install a package from anywhere else use the address of the remote server and the path to the repository.

```
fisher add gitlab.com/owner/foobar
```

Install a package from a tag, branch.
You can install packages from a tag, branch or a [commit-ish](https://git-scm.com/docs/gitglossary#gitglossary-aiddefcommit-ishacommit-ishalsocommittish). If none is specified we'll use the latest code.

```
fisher add jethrokuan/z@pre27
fisher add edc/bass@20f73ef jethrokuan/z@pre27
```

Install a package from a local directory. Local packages are managed through [symbolic links](https://en.wikipedia.org/wiki/Symbolic_link), so you can develop and use them at the same time.
You can also install packages from a local directory. Local packages are managed through [symbolic links](https://en.wikipedia.org/wiki/Symbolic_link), so you can develop and use them at the same time.

```
fisher add ~/myfish/mypkg
Expand All @@ -117,6 +117,7 @@ fisher ls
jethrokuan/z
rafaelrinaldi/pure
gitlab.com/owner/foobar
edc/bass
~/myfish/mypkg
```

Expand Down

0 comments on commit 56e45ef

Please sign in to comment.