Created
September 14, 2011 06:52
-
-
Save nogweii/1216003 to your computer and use it in GitHub Desktop.
Alternative to installing hub for git, kinda.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[url "ssh://[email protected]/"] | |
; What to substitute when pushing | |
pushInsteadOf = gh: | |
; What to substitute when pulling/cloning | |
insteadOf = gh: | |
; Inspired by KDE's config. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Clone, via ssh, my bin repository. | |
git clone gh:evaryont/bin | |
# ... do stuff ... | |
# Push, via ssh to my dotfiles repository | |
git push gh:evaryont/dotfiles |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment