EDIT: I "let me google that for you"'d myself and found this [0] right away which explains it, I guess.
[0] https://unix.stackexchange.com/questions/306189/why-dont-man...
I imagine it as a competition between myself and an adversary with an uncooperative attitude, one who's prepared to act smarter, dumber, better informed and more ignorant than I am in order to to find gaps, inaccuracies, or ambiguities in the docs I write.
It doesn't hurt that it improves my understanding of whatever it is that I'm documenting -- and where it could be improved.
The things that make me most frustrated are when docs are missing, incomplete, or useless ("--foo: enables the foo option"). When it comes to man pages, at least in the good old days, I felt like I could always rely on them to cover all of the possible inputs, outputs, and errors, and to describe them, if not in the plainest language, in a way I could understand without being the author of the program.
For example, I don't have much bad to say about https://shrubbery.net/solaris9ab/SUNWaman/hman1/ls.1.html
Now they make my eyes glaze over, probably because every command now has 57 options. I just google how to do the thing.
Instead of the original developer of the material trying to prognosticate what questions people would have, people asked questions and either other users or the developer could answer them.
$ tldr git cherry-pick
Apply the changes introduced by existing commits to the current branch.
To apply changes to another branch, first use `git checkout` to switch to the desired branch.
More information: <https://git-scm.com/docs/git-cherry-pick>.
- Apply a commit to the current branch:
git cherry-pick commit
- Apply a range of commits to the current branch (see also `git rebase --onto`):
git cherry-pick start_commit~..end_commit
- Apply multiple (non-sequential) commits to the current branch:
git cherry-pick commit_1 commit_2
- Add the changes of a commit to the working directory, without creating a commit:
git cherry-pick -n commit