Skip to content

Instantly share code, notes, and snippets.

@nogweii
Created September 14, 2011 06:52
Show Gist options
  • Save nogweii/1216003 to your computer and use it in GitHub Desktop.
Save nogweii/1216003 to your computer and use it in GitHub Desktop.
Alternative to installing hub for git, kinda.
[url "ssh://[email protected]/"]
; What to substitute when pushing
pushInsteadOf = gh:
; What to substitute when pulling/cloning
insteadOf = gh:
; Inspired by KDE's config.
#!/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