X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-archive.txt;h=bf5037ab2a5042a20e9cb603f0831bb186ac3b74;hb=723b7a2789d66c1365390cc9b9213e34ab8513d7;hp=4163a1bcb1643e7f05b6a79034ac9f63135d6ac9;hpb=4ef927a995d9b54b37e4cff8ed7cd92764d4dacd;p=git.git diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt index 4163a1bcb..bf5037ab2 100644 --- a/Documentation/git-archive.txt +++ b/Documentation/git-archive.txt @@ -116,7 +116,7 @@ Note that attributes are by default taken from the `.gitattributes` files in the tree that is being archived. If you want to tweak the way the output is generated after the fact (e.g. you committed without adding an appropriate export-ignore in its `.gitattributes`), adjust the checked out -`.gitattributes` file as necessary and use `--work-tree-attributes` +`.gitattributes` file as necessary and use `--worktree-attributes` option. Alternatively you can keep necessary attributes that should apply while archiving any tree in your `$GIT_DIR/info/attributes` file.