aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-04-10 04:02:29 +0200
committerMattias Andrée <maandree@kth.se>2016-04-10 04:02:29 +0200
commit25be4f8a0d1eaa060a4379002c416bb45fc9f3c6 (patch)
tree84980279cd130752fc56215ada50ccf8ea5d63c5
parentsmall improvements to "submitting patches" section (diff)
downloadusing-git-25be4f8a0d1eaa060a4379002c416bb45fc9f3c6.tar.gz
using-git-25be4f8a0d1eaa060a4379002c416bb45fc9f3c6.tar.bz2
using-git-25be4f8a0d1eaa060a4379002c416bb45fc9f3c6.tar.xz
on .git/info/exclude
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--using-git.texinfo9
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