From 25be4f8a0d1eaa060a4379002c416bb45fc9f3c6 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 10 Apr 2016 04:02:29 +0200 Subject: on .git/info/exclude MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- using-git.texinfo | 9 +++++---- 1 file 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 -- cgit v1.2.3-70-g09d2