Clean working directory in satellite
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
f09a1ef81d
commit
cac916d974
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue