Clean working directory in satellite
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
f09a1ef81d
commit
cac916d974
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue