Skip to content

Commit e05cfcf

Browse files
Sebastian KrauseSebastian Krause
authored andcommitted
Update submodules.asc
Changed `git clean -fdx` to `git clean -ffdx` to ensure the submodule from the other branch actually gets removed. Just using `git clean -fdx` would result in git skipping the repository during removals.
1 parent e95aba0 commit e05cfcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/07-git-tools/sections/submodules.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ If you do remove it and then switch back to the branch that has that submodule,
820820

821821
[source,console]
822822
----
823-
$ git clean -fdx
823+
$ git clean -ffdx
824824
Removing CryptoLibrary/
825825
826826
$ git checkout add-crypto

0 commit comments

Comments
 (0)