I created a bare repo on my us drive, using
git init --bare M:\usb_repo
and on my local repo I added the usb repo and an additional remote using
git remote add usb M:/usb_repo
And I can push/pull to the portable repo from my local system and I can take my portable repo to another system and checkout from the portable repo just fine. My issue is submodules. The repo I', working with uses submodules and I'm unsure of how I deal with them while using a portable repo. I thought maybe going into the local submodule folder/repo and doing the same process of adding the usb as a remote would work, but apparently not.
Is there a specific way of doing this?