Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…s will allow an undo action
  • Loading branch information...
commit bfd7bde0614f3309b17cc84f7eb4ab671d8df8a6 1 parent 3e0a5e0
@drnic drnic authored
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..."
Please sign in to comment.
Something went wrong with that request. Please try again.