Commit cac916d974cf12083002d01488dfd3ca8ac2a89a

Authored by Dmitriy Zaporozhets
1 parent f09a1ef8

Clean working directory in satellite

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
lib/gitlab/satellite/satellite.rb
@@ -84,6 +84,7 @@ module Gitlab @@ -84,6 +84,7 @@ module Gitlab
84 # Clear the working directory 84 # Clear the working directory
85 def clear_working_dir! 85 def clear_working_dir!
86 repo.git.reset(hard: true) 86 repo.git.reset(hard: true)
  87 + repo.git.clean(f: true, d: true, x: true)
87 end 88 end
88 89
89 # Deletes all branches except the parking branch 90 # Deletes all branches except the parking branch