This project is archived and is in readonly mode.

#591 ✓duplicate
Les Hill

Installing plugin from git branches

Reported by Les Hill | July 10th, 2008 @ 01:55 PM | in 2.x

Currently, script/plugin install works only with the master branch of a git repository. This is fine if you want your plugin on a random edge commit, but not so fine if you want a specific release (branch or tag or commit). Right now you have to type in at least 4 commands (git clone..., cd .., git checkout..., rm -rf .git) to grab a release, this patch makes that part of script/plugin's repertoire.

The patch adds the following syntax to pull down a specific release:

To pull tag 1.1.4

script/plugin install -b 1.1.4 git...

To pull branch classic

script/plugin install -b origin/classic git...

To pull commit a...0

script/plugin install -b a...0 git...

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket