https://github.com/qzed/git-tools
https://github.com/qzed/git-tools
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/qzed/git-tools
- Owner: qzed
- License: gpl-2.0
- Created: 2020-10-22T14:09:17.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-25T21:48:36.000Z (over 5 years ago)
- Last Synced: 2025-01-13T08:46:54.090Z (over 1 year ago)
- Language: Shell
- Size: 26.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Various Small `git` Tools and Scripts
## Tools
### `git-format-patchsets`
Format multi-patches, i.e. patch files with multiple complete commits
inside, from a given commit range. Commits can be assigned to/picked for
patch-sets interactively (similar to git rebase), or via a `Patchset:
` tag.
Usage:
```
git format-patchset [-t|--from-tags] [-a|--no-confirm]
-t --from-tags Look for 'Patchset:' tags in commit messages and
assign patch-set based on this. Commits without a
'Patchset:' tag will be formatted in their own file.
-a --no-confirm Do not open editor for interactive assignment, i.e.
perform assignment automatically without user
interaction. Only valid with -t/--from-tags.
```
Examples:
```
git format-patchset -t v4.19.152
git format-patchset -t -a v4.19.152..HEAD
```
## Installation
Add this directory to your path.