rick-vlad 1.2.0.5 → 1.2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vlad/git.rb +2 -1
- metadata +1 -1
data/lib/vlad/git.rb
CHANGED
@@ -12,7 +12,8 @@ class Vlad::Git
|
|
12
12
|
destination = 'cached-copy' if destination == '.'
|
13
13
|
revision = 'HEAD' if revision =~ /head/i
|
14
14
|
|
15
|
-
[ "
|
15
|
+
[ "rm -rf #{destination}",
|
16
|
+
"#{git_cmd} clone #{code_repo} #{destination}",
|
16
17
|
"cd #{destination}",
|
17
18
|
"#{git_cmd} fetch",
|
18
19
|
"#{git_cmd} reset --hard #{revision}",
|