Skip to content

Commit

Permalink
ignore dist/ only in the root directory
Browse files Browse the repository at this point in the history
 This `dist` will ignore every `dist` directory in the repository not just ones in the root directory. 

I have a project where author is bundling external repos as he modified them I know this isn't the ideal setup but this was my case. so with `dist` in `.gitignore` I lost some of his bundled files under `some/directory/libs/jquery/dist` they weren't pushed to the repo.

modifying `dist` to `/dist` to ignore only `dist` in root directory fixs my problems http://stackoverflow.com/questions/15084780/gitignore-ignore-one-specific-directory-and-that-one-only
  • Loading branch information
ikhattab committed Nov 15, 2015
1 parent c864df4 commit e9a1a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
node_modules
dist
dist/
.tmp
app.yaml

0 comments on commit e9a1a1a

Please sign in to comment.