docs: use -x for cherry-picks

Updates #cleanup

Change-Id: I5222e23b716b342d7c6d113fc539d2021024348e
Signed-off-by: Tom Proctor <tomhjp@users.noreply.github.com>
This commit is contained in:
Tom Proctor
2025-12-17 20:19:41 +00:00
parent b73fb467e4
commit eed5e95e27

View File

@@ -163,6 +163,10 @@ When you use `git revert` to revert a commit, the default commit message will id
Don't revert reverts. That gets ugly. Send the change anew but reference Don't revert reverts. That gets ugly. Send the change anew but reference
the original & earlier revert. the original & earlier revert.
# Cherry picks
Use `git cherry-pick -x` to include git's standard "cherry picked from..." line in the commit message. Typically you'll only need this for cherry-picking onto release branches.
# Other repos # Other repos
To reference an issue in one repo from a commit in another (for example, fixing an issue in corp with a commit in `tailscale/tailscale`), you need to fully-qualify the issue number with the GitHub org/repo syntax: To reference an issue in one repo from a commit in another (for example, fixing an issue in corp with a commit in `tailscale/tailscale`), you need to fully-qualify the issue number with the GitHub org/repo syntax: