-
Hello guys. I am preparing scrip that is meant to pull/checkout more repositories in different directories.
But when I try to put my code into try:except block, like this:
Nothing changes, the script still throws exception and fails. Is it possible to cover this case, and make it not to crash? PS: Is it possible to make it, that it does not ask me for credentials every time? (like put them inside of my code) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This would prevent the exception from stopping the program there, maybe there are other exceptions happening later due to the pull not being successful after all? Manually checking for this case would certainly be required to avoid exceptions.
There is some information about this in the |
Beta Was this translation helpful? Give feedback.
This would prevent the exception from stopping the program there, maybe there are other exceptions happening later due to the pull not being successful after all? Manually checking for this case would certainly be required to avoid exceptions.
There is some information about this in the
Handling Remotes
section of the docs.