diff --git a/docs/git-comparison.md b/docs/git-comparison.md index d998196ca..9c8635b86 100644 --- a/docs/git-comparison.md +++ b/docs/git-comparison.md @@ -211,6 +211,11 @@ parent. git reset --hard (same as abandoning a change since Git has no concept of a "change") + + Abandon the parent of the working copy, but keep its diff in the working copy + jj move --from @- + git reset --soft HEAD~ + Discard working copy changes in some files jj restore <paths>...