Skip to content

Commit 6b0a349

Browse files
MarcoFalkeRandyMcMillan
authored andcommitted
doc: Remove .gitignore section
This was added to the gitignore file itself in commit fada115. The past violations are evidence that the note in the dev notes was missed anyway.
1 parent 7df8cda commit 6b0a349

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

doc/developer-notes.md

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -784,38 +784,6 @@ Threads
784784
- [ThreadI2PAcceptIncoming (`b-i2paccept`)](https://doxygen.bitcoincore.org/class_c_connman.html#a57787b4f9ac847d24065fbb0dd6e70f8)
785785
: Listens for and accepts incoming I2P connections through the I2P SAM proxy.
786786

787-
Ignoring IDE/editor files
788-
--------------------------
789-
790-
In closed-source environments in which everyone uses the same IDE, it is common
791-
to add temporary files it produces to the project-wide `.gitignore` file.
792-
793-
However, in open source software such as Bitcoin Core, where everyone uses
794-
their own editors/IDE/tools, it is less common. Only you know what files your
795-
editor produces and this may change from version to version. The canonical way
796-
to do this is thus to create your local gitignore. Add this to `~/.gitconfig`:
797-
798-
```
799-
[core]
800-
excludesfile = /home/.../.gitignore_global
801-
```
802-
803-
(alternatively, type the command `git config --global core.excludesfile ~/.gitignore_global`
804-
on a terminal)
805-
806-
Then put your favourite tool's temporary filenames in that file, e.g.
807-
```
808-
# NetBeans
809-
nbproject/
810-
```
811-
812-
Another option is to create a per-repository excludes file `.git/info/exclude`.
813-
These are not committed but apply only to one repository.
814-
815-
If a set of tools is used by the build system or scripts the repository (for
816-
example, lcov) it is perfectly acceptable to add its files to `.gitignore`
817-
and commit them.
818-
819787
Development guidelines
820788
============================
821789

0 commit comments

Comments
 (0)