2 ms·
Cherrypicking preserves the original metadata -- author name, date, commit message. At my job, we use it to backport upstream commits from vendors or other int
by Snild 2y ago
Cherrypicking preserves the original metadata -- author name, date, commit message.
At my job, we use it to backport upstream commits from vendors or other internal branches. If we just copied the contents (everything at once?!) and made new commits, it would become impossible to track and we'd end up with chaos.
Keeping the original rationale for changes is invaluable when trying to understand complex code. There are few things more frustrating than a commit that says only "fix bug".
As for other git commands, git bisect is wonderful.