-
With this code: I have the following error :
E git.exc.GitCommandError: Cmd('git') failed due to: exit code(1) In fact we see that the commande used is the fetch one.... not the pull one... so the --ff-only option is not available... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
After taking a look at the API reference I believe Please feel free to keep posting here in case that didn't work. |
Beta Was this translation helpful? Give feedback.
After taking a look at the API reference I believe
origin.pull(ff_only=true)
should do the trick.Please feel free to keep posting here in case that didn't work.