No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.circleci
snap
.gitignore
LICENSE
README.md
icon.png

README.md

hub Snap Package CircleCI Build Status GitHub License

hub is a command-line tool that wraps Git in order to extend it with extra features and commands that make working with GitHub easier. This repository provides the source code for the hub snap which is available in the Snapcraft Store. The snap is maintained by @FelicianoTech meanwhile the code for hub itself is maintained by GitHub. The upstream repository can be found here.

Installation

hub can be installed via snap on Ubuntu 16.04, Ubuntu 18.04+, and many Linux distros with snapd installed by running:

sudo snap install --classic hub

If you don't have the snap command available, you might be able to find instructions for your distro here. All other install methods can be found here.

Usage

You can run any Git command via hub simply by swapping out git for hub in the command. In fact, it is suggested to alias git to run hub instead.

Convenient commands such as hub clone felicianotech/hub-snap could be run instead of the longer git clone git://github.com/felicianotech/hub-snap.git. A full list of commands can be found in hub's user manual.

Development

This snap can be built with Snapcraft. On Ubuntu:

sudo snap install --classic snapcraft
snapcraft snap

Originally this snap was suppose to simply package the binaries already published by GitHub. Problem is, the binaries they make aren't statically linked which makes the snap world difficult. So instead, we're compiling hub based off the appropriate Git tag.

License

Both the code for this snap as well as hub itself is licensed under the MIT license. This repo's license can be found here while the license for hub can be found here.