diff options
-rw-r--r-- | using-git.texinfo | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/using-git.texinfo b/using-git.texinfo index b2a7a4e..d368fb9 100644 --- a/using-git.texinfo +++ b/using-git.texinfo @@ -225,10 +225,6 @@ A good base @file{.gitignore} content you probably always want to use is: @example -_/ -# It is a good idea to allow the directory _ to -# contain temporary file you do not want to stage. - .* # Generally you probably do not want to include # hidden files. @@ -256,6 +252,11 @@ git add .gitignore git commit -m 'first commit' @end example +It is a good idea to allow the directory @file{_} +to contain temporary file you do not want to stage. +You should not such rules to, @file{.gitignore}, +but rather to @file{.git/info/exclude}. + @node Create an origin |