Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This provides an easy way to install the command onto systems, and has the benefit of running git-subsplit under a consistent
bash
versionThe habitat binary can be installed with this one-liner:
curl -s https://raw.githubusercontent.com/habitat-sh/habitat/master/components/hab/install.sh | sudo bash
I've published a build to my own origin, which you can install like this:
The maintainer of this repo could sign into https://bldr.habitat.sh with their github account, register the origin
dflydev
, and configure habitat's public builder to automatically create new builds whenever themaster
branch in this repo is updated.Alternatively, someone cloning this repository could just run:
Once the package is installed to a system, this command can be run to install the binary to the needed path:
sudo hab pkg binlink -d "$(git --exec-path)" jarvus/git-subsplit
Final result
With a
dflydev
origin setup on bldr.habitat.org and linked to the repository, these commands could be used in a CI process at any time to quickly and consistently load the latest version:Bonus points
Tag a release version on the master branch in this repo and the habitat build will pick it up