From fd837f452624c9f5af33a763d2dc79984ae42753 Mon Sep 17 00:00:00 2001 From: Taylor Blau Date: Wed, 7 Jun 2017 11:42:58 -0600 Subject: [PATCH] docs/man: add entry for `git-lfs-migrate(1)` --- docs/man/git-lfs-migrate.1.ronn | 46 +++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 docs/man/git-lfs-migrate.1.ronn diff --git a/docs/man/git-lfs-migrate.1.ronn b/docs/man/git-lfs-migrate.1.ronn new file mode 100644 index 00000000..35ba398b --- /dev/null +++ b/docs/man/git-lfs-migrate.1.ronn @@ -0,0 +1,46 @@ +git-lfs-migrate(1) - Migrate history to or from git-lfs +======================================================= + +## SYNOPSIS + +`git lfs migrate` [options] [--] [branch ...] + +## DESCRIPTION + +## TYPES + +* `import` + Import existing history from Git into Git LFS by converting large objects to + pointer files, and creating entries in .git/lfs/objects. + +* `export` + Export existing history from Git LFS into Git by converting pointer files to + large objects, and creating entries in .git/objects. + +* `info` + Perform no migration, instead show information about repository size. + +## OPTIONS + +* `-I` `--include=`: + See [INCLUDE AND EXCLUDE]. + +* `-X` `--exclude=`: + See [INCLUDE AND EXCLUDE]. + +* [branch ...]: + Migrate only the set of branches listed. If not given, `git-lfs-migrate(1)` + will migrate the entire repository. + +## INCLUDE AND EXCLUDE + +You can configure Git LFS to only migrate tree entries whose pathspec matches +the include glob and does not match the exclude glob, to reduce total migration +time or to only migrate part of your repo. + +Pattern matching is done as given to be functionally equivalent to pattern +matching as in .gitattributes. + +## SEE ALSO + +Part of the git-lfs(1) suite.