Skip to content

Instantly share code, notes, and snippets.

@fearphage
Forked from lenary/gitconfig.ini
Created February 18, 2011 20:57
Show Gist options
  • Select an option

  • Save fearphage/834391 to your computer and use it in GitHub Desktop.

Select an option

Save fearphage/834391 to your computer and use it in GitHub Desktop.

Revisions

  1. @lenary lenary revised this gist Feb 18, 2011. 2 changed files with 3 additions and 1 deletion.
    File renamed without changes.
    4 changes: 3 additions & 1 deletion gitconfig.ini
    Original file line number Diff line number Diff line change
    @@ -9,4 +9,6 @@
    pushInsteadOf = "gist:"
    pushInsteadOf = "git://gist.github.com/"
    [url "git://gist.github.com/"]
    insteadOf = "gist:"
    insteadOf = "gist:"
    [url "git@heroku.com:"]
    insteadOf = "heroku:"
  2. @lenary lenary created this gist Feb 18, 2011.
    25 changes: 25 additions & 0 deletions gistfile2.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    $ git clone github:lenary/guides.git
    Cloning into guides...
    remote: Counting objects: 255, done.
    remote: Compressing objects: 100% (216/216), done.
    remote: Total 255 (delta 111), reused 163 (delta 35)
    Receiving objects: 100% (255/255), 1.49 MiB | 564 KiB/s, done.
    Resolving deltas: 100% (111/111), done.

    $ cd guides
    $ git remote -v
    origin git://github.com/lenary/guides.git (fetch)
    origin git@github.com:lenary/guides.git (push)

    $ cd ..
    $ git clone gist:806037
    Cloning into 806037...
    remote: Counting objects: 3, done.
    remote: Compressing objects: 100% (2/2), done.
    remote: Total 3 (delta 0), reused 0 (delta 0)
    Receiving objects: 100% (3/3), done.

    $ cd 806037
    $ git remote -v
    origin git://gist.github.com/806037 (fetch)
    origin git@gist.github.com:806037 (push)
    12 changes: 12 additions & 0 deletions gitconfig.ini
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    [url "git@github.com:"]
    insteadOf = "gh:"
    pushInsteadOf = "github:"
    pushInsteadOf = "git://github.com/"
    [url "git://github.com/"]
    insteadOf = "github:"
    [url "git@gist.github.com:"]
    insteadOf = "gst:"
    pushInsteadOf = "gist:"
    pushInsteadOf = "git://gist.github.com/"
    [url "git://gist.github.com/"]
    insteadOf = "gist:"