Skip to content

Commit

Permalink
Merge pull request tj#386 from rstacruz/patch-2
Browse files Browse the repository at this point in the history
Use https for git-fork
  • Loading branch information
hemanth committed Jun 23, 2015
2 parents b2f7e11 + 93c3136 commit b7ce09c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/git-fork
Original file line number Diff line number Diff line change
Expand Up @@ -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 "git@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 "git@github.com:$owner/$project"
git fetch upstream
git remote add upstream "https://github.com:$owner/$project"
git fetch upstream

0 comments on commit b7ce09c

Please sign in to comment.