Git URLs

GitHub provides a service for shortening URLs.

It works GitHub-based domains:

  • github.com
  • raw.githubusercontent.com
  • github.io

Go to this site:

Enter your URL and press the button.

e.g.

You can shorten install instructions:

-curl -O https://raw.githubusercontent.com/MichaelCurrin/auto-tag/master/autotag
+curl -O https://git.io/JEULW

Or get a short URL for your dev portfolio.

https://michaelcurrin.github.io
https://git.io/JEUtj

There’s a blog post in 2011 about this service and how to create short URLs using shell commands for API calls.