From 999beb8a4f5f780c925956b82c9105ac136a582b Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Sat, 25 Jan 2025 12:23:52 +0000 Subject: Add personal global gitignore file Usually I have tags file from ctags in root of the repo to simplify code navigation. Some repos have tags file in gitignore, but some doesn't. Create personal gitignore files to hide tags file everywhere. This is not a per repositiry setting, but personal one, so it's fine to configure it globally. --- misc/dotfiles/gitconfig | 2 ++ misc/dotfiles/gitignore | 1 + 2 files changed, 3 insertions(+) create mode 100644 misc/dotfiles/gitignore (limited to 'misc/dotfiles') diff --git a/misc/dotfiles/gitconfig b/misc/dotfiles/gitconfig index 4ac77b1..e7f8226 100644 --- a/misc/dotfiles/gitconfig +++ b/misc/dotfiles/gitconfig @@ -1,3 +1,5 @@ [user] name = Dmitry Ilvokhin email = d@ilvokhin.com +[core] + excludesFile = ~/.gitignore diff --git a/misc/dotfiles/gitignore b/misc/dotfiles/gitignore new file mode 100644 index 0000000..61ffc7c --- /dev/null +++ b/misc/dotfiles/gitignore @@ -0,0 +1 @@ +/tags -- cgit v1.2.3-70-g09d2