Permalink
Browse files

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.
  • Loading branch information...
1 parent c89b6c4 commit 368e4f0eefdf5ce33c0676b0d991885e1662be0e @mmb mmb committed Dec 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 368e4f0

Please sign in to comment.