How can I override the home path during Repo() creation due to unsafe repository (REPO is owned by someone else) error #1429
-
I am using
Is it possible to do same work around during The way I create my repo in python: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
It should be possible to change the environment of the python process itself, which should affect spawned commands as well. I'd be surprised though that changing the home affects that user that git sees when checking it if that is the intend, I could be missing something though. This article has a few suggestions on how to workaround this issue. |
Beta Was this translation helpful? Give feedback.
-
@Byron When I run: |
Beta Was this translation helpful? Give feedback.
It should be possible to change the environment of the python process itself, which should affect spawned commands as well.
I'd be surprised though that changing the home affects that user that git sees when checking it if that is the intend, I could be missing something though.
This article has a few suggestions on how to workaround this issue.