Bash: change GitHub protocol.

This commit is contained in:
Artem Sapegin 2012-12-06 00:19:48 +04:00
parent b4de723f64
commit 453fbf8972

View File

@ -156,7 +156,7 @@ function git-fork() {
echo "Usage: git-fork <original-author>"
else
repo=`basename "$(pwd)"`
git remote add upstream "https://github.com/$user/$repo.git"
git remote add upstream "git@github.com:$user/$repo.git"
fi
}