summaryrefslogtreecommitdiff
path: root/doc/git-annex-clean.mdwn
blob: 13099a5447233591e33085d554466b412bac08b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# NAME

git-annex clean - git filter driver for git-annex

# SYNOPSIS

git annex clean

# DESCRIPTION

When git-annex is used as a git filter driver, this command is run
by git commands such as `git add`. It generates a file that
is added to the git repository and points to the git-annex object
containing the content of a large file.

To configure git to use git-annex as a git filter driver, place the
following in the .gitattributes file:

	* filter=annex
	.* !filter

The annex.largefiles config is consulted to decide if a given file should
be added to git as-is, or if its content are large enough to need to use
git-annex.

# SEE ALSO

[[git-annex]](1)

[[git-annex-smudge]](1)

# AUTHOR

Joey Hess <id@joeyh.name>

Warning: Automatically converted into a man page by mdwn2man. Edit with care.