btrfs-progs: gitignore: Ignore hidden files
PATCH 1/1 btrfs-progs: gitignore: Ignore hidden files
A lot of editor/IDE related config files are hidden files, like .vimrc or .clang_complete.
Instead of adding gitignore entry for each editor/IDE, just ignore all hidden files like what kernel does.
--- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
.gitignore +1 -1
@@ -64,7 +64,7 @@ /cscope.files /cscope.in.out /cscope.po.out -.clang_complete +.* /Documentation/Makefile /Documentation/*.html
Signature · 1 line
2.21.0
Quoted 6 lines · Qu Wenruo
A lot of editor/IDE related config files are hidden files, like .vimrc or .clang_complete.
Instead of adding gitignore entry for each editor/IDE, just ignore all hidden files like what kernel does.
I think you mean:
files starting with ".", like ls does by default without the -a flag.
Mike
Quoted 22 lines
Signed-off-by Qu Wenruo <[email protected]>--- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-).gitignore +1
-2@@ -64,7 +64,7 @@ /cscope.files /cscope.in.out /cscope.po.out -.clang_complete +.* /Documentation/Makefile /Documentation/*.html --2.21.0
Quoted 9 lines · Mike Fleetwood
Quoted 6 lines · Qu Wenruo
A lot of editor/IDE related config files are hidden files, like .vimrc or .clang_complete.
Instead of adding gitignore entry for each editor/IDE, just ignore all hidden files like what kernel does.
I think you mean:
files starting with ".", like ls does by default without the -a flag.
When I punched the words "linux hidden file" into google, I got quite a lot of pages showing 'In the Linux operating system, a hidden file is any file that begins with a "."'
So I think the words "hidden files" should be more or less OK?
Thanks,
Qu
Quoted 25 lines
Mike
Quoted 22 lines
Signed-off-by Qu Wenruo <[email protected]>--- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-).gitignore +1
-2@@ -64,7 +64,7 @@ /cscope.files /cscope.in.out /cscope.po.out -.clang_complete +.* /Documentation/Makefile /Documentation/*.html --2.21.0
Quoted 8 lines · Qu Wenruo
Quoted 7 lines · Mike Fleetwood
Quoted 6 lines · Qu Wenruo
A lot of editor/IDE related config files are hidden files, like .vimrc or .clang_complete.
Instead of adding gitignore entry for each editor/IDE, just ignore all hidden files like what kernel does.
Quoted 8 lines
Quoted 2 lines
I think you mean:
files starting with ".", like ls does by default without the -a flag.When I punched the words "linux hidden file" into google, I got quite a lot of pages showing 'In the Linux operating system, a hidden file is any file that begins with a "."'
So I think the words "hidden files" should be more or less OK?
I think the word "dotfiles" is ok.
Signature · 2 lines
ciao -
StefanQuoted 10 lines · Stefan Traby
Quoted 8 lines · Qu Wenruo
Quoted 7 lines · Mike Fleetwood
Quoted 6 lines · Qu Wenruo
A lot of editor/IDE related config files are hidden files, like .vimrc or .clang_complete.
Instead of adding gitignore entry for each editor/IDE, just ignore all hidden files like what kernel does.
Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
I think you mean:
files starting with ".", like ls does by default without the -a flag.When I punched the words "linux hidden file" into google, I got quite a lot of pages showing 'In the Linux operating system, a hidden file is any file that begins with a "."'
So I think the words "hidden files" should be more or less OK?
My main point was that you said "hidden files like what kernel does" which is not true.
Quoted 2 lines
I think the word "dotfiles" is ok.
Shortening to "just ignore all dotfiles" would be a good choice.