packages feed

git-annex-6.20160114: man/git-annex-add.1

.TH git-annex-add 1
.SH NAME
git-annex-add \- adds files to the git annex
.PP
.SH SYNOPSIS
git annex add \fB[path ...]\fP
.PP
.SH DESCRIPTION
Adds files in the path to the annex. If no path is specified, adds
files from the current directory and below.
.PP
Files that are already checked into git and are unmodified, or that
git has been configured to ignore will be silently skipped.
.PP
If annex.largefiles is configured, and does not match a file, git annex
add\fB will behave the same as \fPgit add and add the non\-large file directly
to the git repository, instead of to the annex.
.PP
Large files are added to the annex in locked form, which prevents further
modification of their content unless unlocked by git-annex\-unlock(1).
(This is not the case however when a repository is in direct mode.)
To add a file to the annex in unlocked form, \fBgit add\fP can be used instead 
(that only works when the repository has annex.version 6 or higher).
.PP
This command can also be used to add symbolic links, both symlinks to
annexed content, and other symlinks.
.PP
.SH OPTIONS
.IP "\fB\-\-include\-dotfiles\fP"
.IP
Dotfiles are skipped unless explicitly listed, or unless this option is
used.
.IP
.IP "\fB\-\-force\fP"
Add gitignored files.
.IP
.IP "\fB\-\-backend\fP"
Specifies which key\-value backend to use.
.IP
.IP "file matching options"
Many of the git-annex\-matching\-options(1)
can be used to specify files to add.
.IP
For example: \fB\-\-largerthan=1GB\fP
.IP
.IP "\fB\-\-jobs=N\fP \fB\-JN\fP"
Adds multiple files in parallel. This may be faster.
For example: \fB\-J4\fP  
.IP
.SH SEE ALSO
git-annex(1)
.PP
git-annex\-unlock(1)
.PP
git-annex\-lock(1)
.PP
git-annex\-undo(1)
.PP
git-annex\-import(1)
.PP
git-annex\-unannex(1)
.PP
git-annex\-reinject(1)
.PP
.SH AUTHOR
Joey Hess <id@joeyh.name>
.PP
.PP