From f57128e7c1641b3b0fc72cb78690fe67e89bd60f Mon Sep 17 00:00:00 2001 From: Kyle Kienapfel Date: Wed, 10 Jul 2019 20:48:42 -0700 Subject: [PATCH] Update Development.md From discussion in #8558 --- docs/development/Development.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/development/Development.md b/docs/development/Development.md index 2f02ad2f3d..8bec753333 100644 --- a/docs/development/Development.md +++ b/docs/development/Development.md @@ -107,3 +107,15 @@ Later, you can get the changes from the betaflight repo into your `master` branc 5. `git push origin master` is an optional step that will update your fork on github You can also perform the git commands using the git client inside Eclipse. Refer to the Eclipse git manual. + +### IDEs and .gitignore + +The projects [.gitignore](/.gitignore) already ignores certain artifacts from some IDEs, but if you'd like to use something else, you can set up git to ignore the necessary files at a global level (all git projects on the computer) + +It is always good to check that you haven't done this already: `git config --global --get core.excludesfile` + +For Linux/BSD/OSX: `git config --global core.excludesfile '~/.gitignore'` + +For Windows: `git config --global core.excludesfile '%USERPROFILE%\.gitignore'` + +When you `git config --global --get core.excludesfile` a second time, you should get a file location back.