{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/del/issues/37","labels_url":"https://api.github.com/repos/sindresorhus/del/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/del/issues/37/comments","events_url":"https://api.github.com/repos/sindresorhus/del/issues/37/events","html_url":"https://github.com/sindresorhus/del/issues/37","id":110787359,"number":37,"title":"delete .git folder","user":{"login":"yabasha","id":932321,"avatar_url":"https://avatars.githubusercontent.com/u/932321?v=3","gravatar_id":"","url":"https://api.github.com/users/yabasha","html_url":"https://github.com/yabasha","followers_url":"https://api.github.com/users/yabasha/followers","following_url":"https://api.github.com/users/yabasha/following{/other_user}","gists_url":"https://api.github.com/users/yabasha/gists{/gist_id}","starred_url":"https://api.github.com/users/yabasha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yabasha/subscriptions","organizations_url":"https://api.github.com/users/yabasha/orgs","repos_url":"https://api.github.com/users/yabasha/repos","events_url":"https://api.github.com/users/yabasha/events{/privacy}","received_events_url":"https://api.github.com/users/yabasha/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-10T10:53:53Z","updated_at":"2015-10-11T16:05:48Z","closed_at":"2015-10-11T16:05:48Z","body":"when running the following pattern it deletes `.git` folder\r\n\r\n    gulp.task('clean', del.sync(['dist/**', '!dist/', '!dist/.git/']) );\r\n\r\nPlease advice how to delete everything in the dist folder except `.git` folder."},"comment":{"url":"https://api.github.com/repos/sindresorhus/del/issues/comments/147214023","html_url":"https://github.com/sindresorhus/del/issues/37#issuecomment-147214023","issue_url":"https://api.github.com/repos/sindresorhus/del/issues/37","id":147214023,"user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T16:05:48Z","updated_at":"2015-10-11T16:05:48Z","body":"Should be:\r\n\r\n```js\r\ngulp.task('clean', del.sync(['dist/**', '!dist']));\r\n``\r\n\r\nAnd you don't need to ignore `.git` as it's not included globstar `**` matching by default.\r\n\r\n-\r\n\r\nPlease use Stack Overflow for support questions in the future."}}