commit db5e0f36c48f9ac1a5a640b02c6143497cea5e56
parent 07abc804138776b2bcfa291b168a72cfafbf0592
Author: tg(x) <*@tg-x.net>
Date: Sat, 5 Feb 2011 17:33:45 +0100
git reset fix
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/gitzone b/bin/gitzone
@@ -164,7 +164,7 @@ sub install_zones {
my $cwd = cwd;
# move master to new
git 'checkout -f master';
- git 'reset --hard new';
+ git 'reset --hard remotes/origin/new';
chdir "$zone_dir/$user" or die $!;
git "clone $cwd ." unless -d '.git';