diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-11-01 17:32:04 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-04 01:54:41 -0800 |
commit | 562ca192f94496611583688beb3725603ce51f89 (patch) | |
tree | 3f75997bec9232fe760ea1d8a695b9055286d6fc /Documentation | |
parent | ee787400de25ed419f40e70698ba35db475b2d61 (diff) | |
download | git-562ca192f94496611583688beb3725603ce51f89.tar.gz git-562ca192f94496611583688beb3725603ce51f89.tar.xz |
clean: require -f to do damage by default
This makes the clean.requireForce configuration default to true.
Too many people are burned by typing "git clean" by mistake when
they meant to say "make clean".
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/config.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index 7ee97df8a..aeb7961ad 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -338,8 +338,8 @@ branch.<name>.merge:: `.` (a period) for branch.<name>.remote. clean.requireForce:: - A boolean to make git-clean do nothing unless given -f or -n. Defaults - to false. + A boolean to make git-clean do nothing unless given -f + or -n. Defaults to true. color.branch:: A boolean to enable/disable color in the output of |