|
NAMEgit-annex-add - adds files to the git annexSYNOPSISgit annex add [path ...]DESCRIPTIONAdds the specified files to the annex. If a directory is specified, acts on all files inside the directory and its subdirectories. If no path is specified, adds files from the current directory and below.Files that are already checked into git and are unmodified, or that git has been configured to ignore will be silently skipped. If annex.largefiles is configured, and does not match a file, git annex add will behave the same as git add and add the non-large file directly to the git repository, instead of to the annex. (By default dotfiles are assumed to not be large, and are added directly to git, but annex.dotfiles can be configured to annex those too.) See the git-annex manpage for documentation of these and other configuration settings. 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 a filesystem not supporting symlinks.) This command can also be used to add symbolic links, both symlinks to annexed content, and other symlinks. EXAMPLES# git annex add foo bar add foo ok add bar ok # git commit -m addedOPTIONS
SEE ALSOgit-annex(1)git-annex-unlock(1) git-annex-lock(1) git-annex-undo(1) git-annex-import(1) git-annex-unannex(1) git-annex-reinject(1) AUTHORJoey Hess <id@joeyh.name> Visit the GSP FreeBSD Man Page Interface. |