Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 897 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 897 Bytes

gitIO Build Status

A simple CLI to get your own custom git.io domain

Getting Started

Install the module with: npm install -g gitio-cli

To create a new git.io URL:

$ gitio 'http://github.com/your-project-url' 'your-short-url-path'

Examples

If I wanted to make http://git.io/krish redirect to http://github.com/krrishd:

$ gitio 'http://github.com/krrishd' 'krish'

Note: If you've already inputted a GitHub URL through the default webservice, this CLI will just give you the short URL that was originally generated. To bypass it, use a minor variation of the URL you're trying to shorten: for example, change http://github.com/krrishd to http://github.com/krrishd?v1.

License

Copyright (c) 2014 Krish Dholakiya. Licensed under the MIT license.