If you enter an URL that is not under github.com domain, git.io will warn you that URL must be from github.com.
However http://git.io/2048 goes to https://gabrielecirulli.github.io/2048/. I tried my own Github Pages and it didn't work.
github
If you enter an URL that is not under github.com domain, git.io will warn you that URL must be from github.com.
However http://git.io/2048 goes to https://gabrielecirulli.github.io/2048/. I tried my own Github Pages and it didn't work.
Best Answer
One more thing to note here, besides changing
.io
to.com
is that if you create a short URL for a GitHub URL without providing a custom code argument, you won't be able to use Git.io to shorten the same GitHub URL again with your custom code.For instance I shortened https://1oh1.github.com using the Git.io website without providing a custom code, so now I'm stuck with this: http://git.io/hWhKbw
However, I used curl to shorten the same URL again (this time without the "S" in "HTTPS" so it's a different URL) and provided a "code" argument:
That got me what I wanted: