Linux command
git-quiltimport 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Import quilt patches
git quiltimport
Import from specific directory
git quiltimport --patches [patches/]
Dry run
git quiltimport -n
说明
git quiltimport imports a quilt patchset into Git as a series of commits. Quilt is a patch management system, and this command reads the patches directory and series file, creating one commit per patch in order. The command enables migration from quilt-based development workflows to Git, which was particularly common in Linux distribution packaging before Git became the standard.
参数
- --patches _DIR_
- Patches directory. Defaults to patches or $QUILT_PATCHES.
- --series _FILE_
- Series file location. Defaults to <patches>/series or $QUILT_SERIES.
- -n, --dry-run
- Show what would be imported.
- --author _AUTHOR_
- Default author.
- --keep-non-patch
- Pass -b flag to git mailinfo to keep non-patch content in the commit message.
- --help
- Display help information.
FAQ
What is the git-quiltimport command used for?
git quiltimport imports a quilt patchset into Git as a series of commits. Quilt is a patch management system, and this command reads the patches directory and series file, creating one commit per patch in order. The command enables migration from quilt-based development workflows to Git, which was particularly common in Linux distribution packaging before Git became the standard.
How do I run a basic git-quiltimport example?
Run `git quiltimport` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --patches _DIR_ do in git-quiltimport?
Patches directory. Defaults to patches or $QUILT_PATCHES.