diff --git a/scripts/github-remove b/scripts/github-remove index 98e597bbe1..af91051d13 100755 --- a/scripts/github-remove +++ b/scripts/github-remove @@ -37,6 +37,8 @@ if args.discard: call(["git", "reset", "-q"], cwd=librenms_dir) call(["git", "checkout", "."], cwd=librenms_dir) call(["git", "clean", "-d", "-f"] + dirs, cwd=librenms_dir) + # fix messed up gitignore file modes + call(["git", "checkout", "bootstrap/cache/.gitignore", "storage/app/.gitignore", "storage/app/public/.gitignore", "storage/debugbar/.gitignore", "storage/framework/cache/.gitignore", "storage/framework/sessions/.gitignore", "storage/framework/testing/.gitignore", "storage/framework/views/.gitignore", "storage/logs/.gitignore"]) if args.vendor: call(["git", "clean", "-x", "-d", "-f", "vendor/"], cwd=librenms_dir)