Skip to content

Commit faf65f0

Browse files
author
MarcoFalke
committed
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 faf2094 commit faf65f0

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
@@ -785,38 +785,6 @@ Threads
785785
- [ThreadI2PAcceptIncoming (`b-i2paccept`)](https://doxygen.bitcoincore.org/class_c_connman.html#a57787b4f9ac847d24065fbb0dd6e70f8)
786786
: Listens for and accepts incoming I2P connections through the I2P SAM proxy.
787787

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

0 commit comments

Comments
 (0)