diff --git a/users/ignoring.rst b/users/ignoring.rst index 245d6bd0a..1558a1e24 100644 --- a/users/ignoring.rst +++ b/users/ignoring.rst @@ -89,6 +89,7 @@ Example Given a directory layout:: + .DS_Store foo foofoo bar/ @@ -113,6 +114,7 @@ and an ``.stignore`` file with the contents:: all files and directories called "foo", ending in a "2" or starting with "qu" will be ignored. The end result becomes:: + (?d).DS_Store # ignored, will be deleted if gets in the way of parent directory removal foo # ignored, matches "foo" foofoo # synced, does not match "foo" but would match "foo*" or "*foo" bar/ # synced