On Tue, Feb 14, 2017 at 04:34:10PM -0800, Stefan Beller wrote: > create_lib_submodule_repo () { > git init submodule_update_repo && > ( > @@ -49,10 +54,11 @@ create_lib_submodule_repo () { > git config submodule.sub1.ignore all && > git add .gitmodules && > git commit -m "Add sub1" && > - git checkout -b remove_sub1 && > + > + git checkout -b remove_sub1 add_sub1&& You're missing a space before the "&&". -- brian m. carlson / brian with sandals: Houston, Texas, US +1 832 623 2791 | https://www.crustytoothpaste.net/~bmc | My opinion only OpenPGP: https://keybase.io/bk2204