If you need to connect to multiple Git hosts or environments (like EMU and GHEC) with minimal effort, then SSH may provide the options you need to make it painless.
There are many ways to automate the process of marking directories as “safe” to avoid the “detected dubious ownership in repository” message. Last week, I discussed how to modify the devcontainer.json. This week, let’s see an alternative using Dotfiles.
It’s always best to run containers with the least privileges required. Unfortunately, that may result in Git operations that fail with the message “detected dubious ownership in repository”. The trick to eliminating this is quite simple …