Commit 2fbb4b05 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'clean-satellite' into 'master'

Clean working directory in satellite
parents f09a1ef8 cac916d9
......@@ -84,6 +84,7 @@ module Gitlab
# Clear the working directory
def clear_working_dir!
repo.git.reset(hard: true)
repo.git.clean(f: true, d: true, x: true)
end
# Deletes all branches except the parking branch
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment