From e4db0fba2bc11917786e2a693535afb2aaa3ac54 Mon Sep 17 00:00:00 2001 From: Bronek Kozicki <823856+Bronek@users.noreply.github.com> Date: Sat, 23 Sep 2023 00:01:00 +0100 Subject: [PATCH] chore: add .build to .gitignore (#4722) Currently, the `BUILD.md` instructions suggest using `.build` as the build directory, so this change helps to reduce confusion. An alternative would be to instruct developers to add `/.build/` to `.git/info/exclude` or to user-level `.gitignore` (although the latter is very intrusive). However, it is being added here because it is a good practice to have a sensible default that's consistent with the build instructions. --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 87d9b3b8e00..e5952e0de1b 100644 --- a/.gitignore +++ b/.gitignore @@ -109,3 +109,6 @@ pkg CMakeUserPresets.json bld.rippled/ .vscode + +# Suggested in-tree build directory +/.build/