cherry-pick a commit and keep original SHA code
问题 I would like to cherry-pick a commit on a fetched remote while keeping it's original SHA commit code (my current branch is based on this remote which I resetted to a previous state). 回答1: A git SHA hash is computed from different pieces of information: The tree it refers to; basically, the current content of the repository in the branch in which the commit appears. The SHA of the parent commit(s) . The commit message . The author information : name, email and timestamp. The committer