From 368e4f0eefdf5ce33c0676b0d991885e1662be0e Mon Sep 17 00:00:00 2001 From: "Matthew M. Boedicker" Date: Sat, 1 Dec 2012 15:14:01 -0800 Subject: Quote ~ in git config global excludes command. This will put ~/ in .gitconfig so it will not be hardcoded to the home directory where the command was run. --- railties/lib/rails/generators/rails/app/templates/gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railties/lib/rails/generators/rails/app/templates/gitignore b/railties/lib/rails/generators/rails/app/templates/gitignore index 8910bf5a06..52abb32479 100644 --- a/railties/lib/rails/generators/rails/app/templates/gitignore +++ b/railties/lib/rails/generators/rails/app/templates/gitignore @@ -2,7 +2,7 @@ # # If you find yourself ignoring temporary files generated by your text editor # or operating system, you probably want to add a global ignore instead: -# git config --global core.excludesfile ~/.gitignore_global +# git config --global core.excludesfile '~/.gitignore_global' # Ignore bundler config /.bundle -- cgit v1.2.3