-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
git-fast-import: add page #18819
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git-fast-import: add page #18819
Conversation
|
|
||
| - Import data from a fast-import stream file: | ||
|
|
||
| `git fast-import < {{path/to/stream_file}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `git fast-import < {{path/to/stream_file}}` | |
| `git < {{path/to/stream_file}} fast-import` |
https://github.com/tldr-pages/tldr/blob/main/contributing-guides/style-guide.md#argument-order
|
|
||
| - Import and show statistics: | ||
|
|
||
| `git fast-import --stats < {{path/to/stream_file}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `git fast-import --stats < {{path/to/stream_file}}` | |
| `git < {{path/to/stream_file}} fast-import --stats` |
|
|
||
| - Import with a specific maximum number of pack bytes: | ||
|
|
||
| `git fast-import --max-pack-size {{size}} < {{path/to/stream_file}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `git fast-import --max-pack-size {{size}} < {{path/to/stream_file}}` | |
| `git < {{path/to/stream_file}} fast-import --max-pack-size {{size}}` |
|
|
||
| - Import and create a new pack file when the current one reaches a certain size: | ||
|
|
||
| `git fast-import --big-file-threshold {{size}} < {{path/to/stream_file}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `git fast-import --big-file-threshold {{size}} < {{path/to/stream_file}}` | |
| `git < {{path/to/stream_file}} fast-import --big-file-threshold {{size}}` |
Adds documentation for
git-fast-importcommand.Examples included:
#3953