mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
fork: http-urls had colon instead of slash
This commit is contained in:
parent
db95415385
commit
8f1729d5f7
|
|
@ -26,9 +26,9 @@ curl -X POST -u "$user" "https://api.github.com/repos/$owner/$project/forks"
|
|||
[ $? = 0 ] || abort "fork failed"
|
||||
|
||||
# clone forked repo into current dir
|
||||
git clone "https://github.com:$user/$project" "$project"
|
||||
git clone "https://github.com/$user/$project" "$project"
|
||||
|
||||
# add reference to origin fork so can merge in upstream changes
|
||||
cd "$project"
|
||||
git remote add upstream "https://github.com:$owner/$project"
|
||||
git remote add upstream "https://github.com/$owner/$project"
|
||||
git fetch upstream
|
||||
|
|
|
|||
Loading…
Reference in a new issue