Bash: change GitHub protocol.
This commit is contained in:
parent
b4de723f64
commit
453fbf8972
@ -156,7 +156,7 @@ function git-fork() {
|
|||||||
echo "Usage: git-fork <original-author>"
|
echo "Usage: git-fork <original-author>"
|
||||||
else
|
else
|
||||||
repo=`basename "$(pwd)"`
|
repo=`basename "$(pwd)"`
|
||||||
git remote add upstream "https://github.com/$user/$repo.git"
|
git remote add upstream "git@github.com:$user/$repo.git"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user