Skip to content
Browse files

"fork" copies the current "origin" to a remote called "upstread"; thi…

…s will allow an undo action
  • Loading branch information...
1 parent 3e0a5e0 commit bfd7bde0614f3309b17cc84f7eb4ab671d8df8a6 @drnic drnic committed Mar 22, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −0 History.txt
  2. +1 −1 lib/commands/commands.rb
View
2 History.txt
@@ -1,3 +1,5 @@
+* "fork" copies the current "origin" to a remote called "upstread"; this will allow an undo action
+
== 0.7.2 2012-03-20
* Upgrade highline
View
2 lib/commands/commands.rb
@@ -233,7 +233,7 @@
url = "git@github.com:#{github_user}/#{repo}.git"
if is_repo
git "config remote.origin.url #{url}"
- git "config remote.parent.url #{current_origin}"
+ git "config remote.upstream.url #{current_origin}"
puts "#{user}/#{repo} forked"
else
puts "Giving GitHub a moment to create the fork..."

0 comments on commit bfd7bde

Please sign in to comment.
Something went wrong with that request. Please try again.