aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorMatthew M. Boedicker <matthewm@boedicker.org>2012-12-01 15:14:01 -0800
committerMatthew M. Boedicker <matthewm@boedicker.org>2012-12-01 15:14:01 -0800
commit368e4f0eefdf5ce33c0676b0d991885e1662be0e (patch)
treeaec25bfa88b33c16bea01a4654b4c20660a3a364 /railties/lib
parentc89b6c4cdce7ee55ed3665c099d914222fe0344a (diff)
downloadrails-368e4f0eefdf5ce33c0676b0d991885e1662be0e.tar.gz
rails-368e4f0eefdf5ce33c0676b0d991885e1662be0e.tar.bz2
rails-368e4f0eefdf5ce33c0676b0d991885e1662be0e.zip
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.
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/gitignore2
1 files changed, 1 insertions, 1 deletions
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