We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 06ddcae + aa0516b commit 57b4d5cCopy full SHA for 57b4d5c
src/git.md
@@ -142,7 +142,8 @@ The most common cause is that you rebased after a change and ran `git add .` wit
142
`x` to update the submodules. Alternatively, you might have run `cargo fmt` instead of `x fmt`
143
and modified files in a submodule, then committed the changes.
144
145
-To fix it, do the following things:
+To fix it, do the following things (if you changed a submodule other than cargo,
146
+replace `src/tools/cargo` with the path to that submodule):
147
148
1. See which commit has the accidental changes: `git log --stat -n1 src/tools/cargo`
149
2. Revert the changes to that commit: `git checkout <my-commit>~ src/tools/cargo`. Type `~`
0 commit comments