~mbp/bzr/remove-logging

« back to all changes in this revision

Viewing changes to doc/en/tutorials/tutorial.txt

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-11-20 05:00:17 UTC
  • mfrom: (4815.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20091120050017-v09m0msompvbol5b
(igc) Explain that .bzrignore is implicitly added (Patrick Regan,
        #59608)

Show diffs side-by-side

added added

removed removed

Lines of Context:
403
403
    % bzr commit -m "Add ignore patterns"
404
404
 
405
405
 
 
406
bzr ignore
 
407
----------
 
408
 
 
409
As an alternative to editing the ``.bzrignore`` file, you can use the 
 
410
``bzr ignore`` command. The ``bzr ignore`` command takes filenames and/or
 
411
patterns as arguments and then adds them to the ``.bzrignore`` file. If a
 
412
``.bzrignore`` file does not exist the ``bzr ignore`` command will 
 
413
automatically create one for you, and implicitly add it to be versioned::
 
414
 
 
415
    % bzr ignore tags
 
416
    % bzr status
 
417
    added:
 
418
      .bzrignore
 
419
 
 
420
Just like when editing the ``.bzrignore`` file on your own, you should
 
421
commit the automatically created ``.bzrignore`` file::
 
422
 
 
423
    % bzr commit -m "Added tags to ignore file"
 
424
 
 
425
 
406
426
Global ignores
407
427
--------------
408
428