From 25fc55ddb57eaa6484125088bb377900d8874a3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=BCrlimann=20=28CyT=29?= Date: Fri, 6 Feb 2015 09:11:38 +0100 Subject: [PATCH] fix(gitignore): mark some gitignore entries absolute To ensure git does not ignore files in subdirectory, this commit restricts some entries to the root directory only. Similar patch went into generator-angular: https://github.com/yeoman/generator-angular/commit/1f907d3cdc6b4632d091fe905ddccaa37215ab8a --- templates/common/_gitignore | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/templates/common/_gitignore b/templates/common/_gitignore index 1d951ee..9171145 100644 --- a/templates/common/_gitignore +++ b/templates/common/_gitignore @@ -1,15 +1,15 @@ -node_modules -www +/node_modules +/www .idea -.temp -.sass-cache -<%= appPath %>/bower_components -coverage -platforms -plugins +/.temp +/.sass-cache +/<%= appPath %>/bower_components +/coverage +/platforms +/plugins *.swp *.swo *.log *.DS_Store -app/scripts/configuration.js +/app/scripts/configuration.js