~doxxx/bzr/bzrmeta-ignore

« back to all changes in this revision

Viewing changes to doc/en/user-guide/controlling_registration.txt

  • Committer: Gordon Tyler
  • Date: 2009-12-02 20:34:14 UTC
  • Revision ID: gordon@doxxx.net-20091202203414-uxq4no7pt7s9c0rt
Changed all instances of IGNORE_FILENAME and '.bzrignore' to '.bzrmeta/ignore'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
such as editor backups, object or bytecode files, and built programs.  You
48
48
can simply not add them, but then they'll always crop up as unknown files.
49
49
You can also tell Bazaar to ignore these files by adding them to a file
50
 
called ``.bzrignore`` at the top of the tree.
 
50
called ``ignore`` in the ``.bzrmeta`` subdirectory at the top of the tree.
51
51
 
52
52
This file contains a list of file wildcards (or "globs"), one per line.
53
53
Typical contents are like this::
78
78
is explicitly added, it remains versioned regardless of whether it matches
79
79
an ignore pattern.
80
80
 
81
 
The ``.bzrignore`` file should normally be versioned, so that new copies
82
 
of the branch see the same patterns::
 
81
The ``.bzrmeta/ignore`` file should normally be versioned, so that new
 
82
copies of the branch see the same patterns::
83
83
 
84
 
    % bzr add .bzrignore
 
84
    % bzr add .bzrmeta/ignore
85
85
    % bzr commit -m "Add ignore patterns"
86
86
 
87
87
The command ``bzr ignore PATTERN`` can be used to easily add PATTERN to
88
 
the ``.bzrignore file`` (creating it if necessary and registering it to
89
 
be tracked by Bazaar).  Removing and modifying patterns are done by
90
 
directly editing the ``.bzrignore`` file.
 
88
the ``.bzrmeta/ignore`` file (creating it if necessary and registering it
 
89
to be tracked by Bazaar).  Removing and modifying patterns are done by
 
90
directly editing the ``.bzrmeta/ignore`` file.
91
91
 
92
92
Global ignores
93
93
--------------