1
0
Fork 0
mirror of https://github.com/correl/melpa.git synced 2025-01-12 03:00:10 +00:00

Briefly document the :branch option

This commit is contained in:
Steve Purcell 2014-02-06 20:31:45 +00:00
parent c9a76a6498
commit 66b807b690

View file

@ -194,12 +194,16 @@ the `git`, `bzr`, `hg`, `darcs`, `svn` and `cvs` fetchers.*
`github-user/repo-name`. *required for the `github` fetcher*.
- `:commit`
specifies the commit or branch of the git repo to checkout. The value
specifies the commit of the git repo to checkout. The value
will be passed to `git reset` in a repo where `upstream` is the
original repository. Can therefore be either a sha, if pointing at a
specific commit, or a branch (prefixed with "origin/"). Only used by
specific commit, or a full ref prefixed with "origin/". Only used by
the `git` and `github` fetchers.
- `:branch`
specifies the branch of the git repo to use. This is like `:commit`, but
it adds the "origin/" prefix automatically.
- `:module`
specifies the module of a CVS repository to check out. Defaults to to
`package-name`. Only used with `:fetcher cvs`, and otherwise ignored.