Title: Unknown option 'rebase' error · Issue #1528 · gitpython-developers/GitPython · GitHub
Open Graph Title: Unknown option 'rebase' error · Issue #1528 · gitpython-developers/GitPython
X Title: Unknown option 'rebase' error · Issue #1528 · gitpython-developers/GitPython
Description: Hello! We have a project which uses GitPython to automate interacting with Git for GitOps based deployments. After the 3.1.30 release we started seeing an error in our integration tests: failed on setup with "git.exc.GitCommandError: Cmd...
Open Graph Description: Hello! We have a project which uses GitPython to automate interacting with Git for GitOps based deployments. After the 3.1.30 release we started seeing an error in our integration tests: failed on ...
X Description: Hello! We have a project which uses GitPython to automate interacting with Git for GitOps based deployments. After the 3.1.30 release we started seeing an error in our integration tests: failed on ...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/1528
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unknown option 'rebase' error","articleBody":"Hello!\r\n\r\nWe have a project which uses GitPython to automate interacting with Git for GitOps based deployments. After the 3.1.30 release we started seeing an error in our integration tests:\r\n\r\n```bash\r\nfailed on setup with \"git.exc.GitCommandError: Cmd('git') failed due to: exit code(1)\r\n cmdline: git pull -v -- origin --rebase\r\n stderr: 'error: unknown option `rebase''\"\r\n```\r\n\r\nWe believe it was introduced with [this PR](https://github.com/gitpython-developers/GitPython/pull/1518).\r\n\r\nThe code that is failing is:\r\n\r\n```python\r\nrepository = _initialize_repository(working_directory, remote_repository_url, token)\r\nrepository.remotes['origin'].pull('--rebase')\r\n```\r\n\r\nAny help would be greatly appreciated!","author":{"url":"https://github.com/sgwilliams-ebsco","@type":"Person","name":"sgwilliams-ebsco"},"datePublished":"2023-01-03T16:32:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/1528/GitPython/issues/1528"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:11642bf0-dd88-c2ea-9fa6-be72e347d23c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CAE6:28CDAA:52DF55:74337B:6968CB4C |
| html-safe-nonce | 629d1a4da584ffe8360ecc66d62d1800938c5de56736a6f41a5a58fe6d1cf451 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQUU2OjI4Q0RBQTo1MkRGNTU6NzQzMzdCOjY5NjhDQjRDIiwidmlzaXRvcl9pZCI6Ijc5ODM0ODEzNzYxNjc0ODAxNDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f03e9597867e6524e53cd848d0723e6d04ed1e10d9db15d828a435cfa7eab80c |
| hovercard-subject-tag | issue:1517639906 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gitpython-developers/GitPython/1528/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a878067799d9192fcdb32a33b196b99f45b95b9c9da8734aedc2e6911f71d2c4/gitpython-developers/GitPython/issues/1528 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a878067799d9192fcdb32a33b196b99f45b95b9c9da8734aedc2e6911f71d2c4/gitpython-developers/GitPython/issues/1528 |
| og:image:alt | Hello! We have a project which uses GitPython to automate interacting with Git for GitOps based deployments. After the 3.1.30 release we started seeing an error in our integration tests: failed on ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sgwilliams-ebsco |
| hostname | github.com |
| expected-hostname | github.com |
| None | af2d7af0cc84117fa10bf36808605ef68a335c9d8a804b9cdac55f8d77230b00 |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cc844ab6ee0198cc2e2c142dcb8a5c2a61d48743 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width