File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ # git fast-export
2
+
3
+ > Exports the contents and history of a Git repository in a streamable, plain-text format.
4
+ > More information: < https://manned.org/git-fast-export > .
5
+
6
+ - Export the entire Git repository history to ` stdout ` :
7
+
8
+ ` git fast-export --all `
9
+
10
+ - Export the entire repository to a file:
11
+
12
+ ` git fast-export --all > {{path/to/file}} `
13
+
14
+ - Export a specific branch only:
15
+
16
+ ` git fast-export {{main}} `
17
+
18
+ - Export with ` progress ` statements every ` n ` objects (for showing progress during ` git fast-import ` ):
19
+
20
+ ` git fast-export --progress {{n}} --all > {{path/to/file}} `
21
+
22
+ - Export only a specific subdirectory’s history:
23
+
24
+ ` git fast-export --all -- {{path/to/directory}} > {{path/to/file}} `
You can’t perform that action at this time.
0 commit comments