You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
git pull make a fetch ? so "--ff-only" seems not possible #1088
E git.exc.GitCommandError: Cmd('git') failed due to: exit code(1)
E cmdline: git pull -v origin --ff-only master
E stderr: 'error: unknown option `ff-only master'
E usage: git fetch [] [ [...]]
E or: git fetch []
E or: git fetch --multiple [] [( | )...]
E or: git fetch --all []
In fact we see that the commande used is the fetch one.... not the pull one... so the --ff-only option is not available...
how can i make a pull that make a pull ?
Activity
Byron commentedon Nov 21, 2020
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.