Permalink
Browse files

doc: mention packages can be installed from a commit-ish

  • Loading branch information...
jorgebucaran committed Oct 8, 2018
1 parent 206ecf7 commit 56e45ef18f2f32d18d7dd9d0b6297a5f3265c2ea
Showing with 5 additions and 4 deletions.
  1. +5 −4 README.md
@@ -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
@@ -117,6 +117,7 @@ fisher ls
jethrokuan/z
rafaelrinaldi/pure
gitlab.com/owner/foobar
edc/bass
~/myfish/mypkg
```

0 comments on commit 56e45ef

Please sign in to comment.