1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/sfdk-scrape.md

25 lines
655 B
Markdown
Raw Normal View History

2025-04-02 06:25:13 +03:00
# sfdk scrape
> Converts source code modifications to patches.
2025-04-20 12:27:36 +03:00
> More information: <https://github.com/sailfishos/sailfish-qtcreator/blob/master/share/qtcreator/sfdk/modules/65-maintaining-mb2/doc/command.scrape.adoc>.
2025-04-02 06:25:13 +03:00
- Save source modifications as patches:
`sfdk scrape`
- Preview the list of commits to be scrapped:
`sfdk scrape {{[-n|--dry-run]}}`
2025-04-02 06:25:13 +03:00
- Scrape while preserving the original patches file names:
`sfdk scrape --stable`
- Scrape while saving patches to a specified [o]utput directory:
`sfdk scrape {{[-o|--output-dir]}} {{directory}}`
2025-04-02 06:25:13 +03:00
- Scrape without removing commits from submodules after creating patches:
`sfdk scrape --keep`