I was wondering if you can generate patches for a range but only limit to commits from a specific author, the way you do with git log --author='bob'
.
相关问题
- Why does recursive submodule update from github fa
- Extended message for commit via Visual Studio Code
- Emacs shell: save commit message
- Can I organize Git submodules in a flat hierarchy?
- Upload file > 25 MB on Github
相关文章
- 请教Git如何克隆本地库?
- GitHub:Enterprise post-receive hook
- Git Clone Fails: Server Certificate Verification F
- SSIS solution on GIT?
- Is there a version control system abstraction for
- ssh: Could not resolve hostname git: Name or servi
- Cannot commit changes with gitextensions
- git: retry if http request failed
Yes, it is possible.
According to reference on
git format-patch
it accepts<revision range>
Details may be found in the reference but we only need this one:
So you'll need:
git log X..Y --author='<AUTHOR>' --format="%H"
produces output in format of 40-digit sha1 sums.sed 's/$/^!/g'
adds ^! at the end of each linexargs -I{} git format-patch {}
just runsgit format-patch
with each line