From 545f5fc3e9c7d6e34c8ea54351ae3ca48271afb8 Mon Sep 17 00:00:00 2001 From: bcd Date: Sat, 2 Nov 2013 21:15:51 +0100 Subject: [PATCH] Git clone now uses config push.default upstream --- lib/homesick/actions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/homesick/actions.rb b/lib/homesick/actions.rb index 076a1b5..51bb4ce 100644 --- a/lib/homesick/actions.rb +++ b/lib/homesick/actions.rb @@ -11,7 +11,7 @@ class Homesick if ! destination.directory? say_status 'git clone', "#{repo} to #{destination.expand_path}", :green unless options[:quiet] - system "git clone -q --recursive #{repo} #{destination}" unless options[:pretend] + system "git clone -q --config push.default=upstream --recursive #{repo} #{destination}" unless options[:pretend] else say_status :exist, destination.expand_path, :blue unless options[:quiet] end