1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 21:52:34 +08:00

Merge pull request #1452 from miry/github

Fix repo for github.
This commit is contained in:
Robby Russell 2012-12-02 09:41:51 -08:00
commit 31ad21398e

View File

@ -61,6 +61,7 @@ exist_gh() { # [DIRECTORY]
cd "$1"
name=$( git config user.name )
ghuser=$( git config github.user )
repo=$1
git remote add origin git@github.com:${ghuser}/${repo}.git
git push -u origin master