Skip to content

krrishd/gitio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published