6 git-fast-export - Git data exporter
11 'git-fast-export [options]' | 'git-fast-import'
15 This program dumps the given revisions in a form suitable to be piped
16 into gitlink:git-fast-import[1].
18 You can use it as a human readable bundle replacement (see
19 gitlink:git-bundle[1]), or as a kind of an interactive
20 gitlink:git-filter-branch[1].
26 Insert 'progress' statements every <n> objects, to be shown by
27 gitlink:git-fast-import[1] during import.
29 --signed-tags=(ignore|warn|strip|abort)::
30 Specify how to handle signed tags. Since any transformation
31 after the export can change the tag names (which can also happen
32 when excluding revisions) the signatures will not match.
34 When asking to 'abort' (which is the default), this program will die
35 when encountering a signed tag. With 'strip', the tags will be made
36 unsigned, with 'ignore', they will be silently ignored (i.e. not exported)
37 and with 'warn', they will be exported, but you will see a warning.
43 -------------------------------------------------------------------
44 $ git fast-export --all | (cd /empty/repository && git fast-import)
45 -------------------------------------------------------------------
47 This will export the whole repository and import it into the existing
48 empty repository. Except for reencoding commits that are not in
49 UTF-8, it would be a one-to-one mirror.
51 -----------------------------------------------------
52 $ git fast-export master~5..master |
53 sed "s|refs/heads/master|refs/heads/other|" |
55 -----------------------------------------------------
57 This makes a new branch called 'other' from 'master~5..master'
58 (i.e. if 'master' has linear history, it will take the last 5 commits).
60 Note that this assumes that none of the blobs and commit messages
61 referenced by that revision range contains the string
68 Since gitlink:git-fast-import[1] cannot tag trees, you will not be
69 able to export the linux-2.6.git repository completely, as it contains
70 a tag referencing a tree instead of a commit.
75 Written by Johannes E. Schindelin <johannes.schindelin@gmx.de>.
79 Documentation by Johannes E. Schindelin <johannes.schindelin@gmx.de>.
83 Part of the gitlink:git[7] suite