Skip to content

Commit 65f5f52

Browse files
committed
Contributing/Patch: exclude IDE dirs/files
1 parent c9cc8cc commit 65f5f52

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

contributing/code/patches.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,18 @@ Set up your user information with your real name and a working email address:
3232
If you are new to Git, we highly recommend you to read the excellent and
3333
free `ProGit`_ book.
3434

35+
.. tip::
36+
37+
If your IDE creates configuration files inside project's directory,
38+
you can use ``.git/info/exclude`` file to exclude them. Here is an example
39+
rule to exclude ``ide-cfg/`` directory and ``ide.cfg`` file residing inside
40+
Symfony 2 folder:
41+
42+
.. code-block:: text
43+
44+
/ide-cfg
45+
/ide.cfg
46+
3547
.. tip::
3648

3749
Windows users: when installing Git, the installer will ask what to do with

0 commit comments

Comments
 (0)