We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e945770 + 3290fe6 commit e11c826Copy full SHA for e11c826
1 file changed
t/lib-submodule-update.sh
@@ -69,10 +69,7 @@ create_lib_submodule_repo () {
69
70
git checkout -b "replace_sub1_with_directory" "add_sub1" &&
71
git submodule update &&
72
- (
73
- cd sub1 &&
74
- git checkout modifications
75
- ) &&
+ git -C sub1 checkout modifications &&
76
git rm --cached sub1 &&
77
rm sub1/.git* &&
78
git config -f .gitmodules --remove-section "submodule.sub1" &&
0 commit comments