Commit 31ad2139 authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #1452 from miry/github

Fix repo for github.
parents 22f827e1 f29daef2
...@@ -61,6 +61,7 @@ exist_gh() { # [DIRECTORY] ...@@ -61,6 +61,7 @@ exist_gh() { # [DIRECTORY]
cd "$1" cd "$1"
name=$( git config user.name ) name=$( git config user.name )
ghuser=$( git config github.user ) ghuser=$( git config github.user )
repo=$1
git remote add origin git@github.com:${ghuser}/${repo}.git git remote add origin git@github.com:${ghuser}/${repo}.git
git push -u origin master git push -u origin master
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment