Title: Unable to revert merge commit because RevertOptions cannot be passed in NodeGit · Issue #1597 · nodegit/nodegit · GitHub
Open Graph Title: Unable to revert merge commit because RevertOptions cannot be passed in NodeGit · Issue #1597 · nodegit/nodegit
X Title: Unable to revert merge commit because RevertOptions cannot be passed in NodeGit · Issue #1597 · nodegit/nodegit
Description: I am trying to revert a branch commit by using the Revert.revert() and trying to pass in the RevertOptions, but I am unable to create that instance to give it the necessary values. I get a "Property 'RevertOptions' does not exist on type...
Open Graph Description: I am trying to revert a branch commit by using the Revert.revert() and trying to pass in the RevertOptions, but I am unable to create that instance to give it the necessary values. I get a "Propert...
X Description: I am trying to revert a branch commit by using the Revert.revert() and trying to pass in the RevertOptions, but I am unable to create that instance to give it the necessary values. I get a "Pr...
Opengraph URL: https://github.com/nodegit/nodegit/issues/1597
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to revert merge commit because RevertOptions cannot be passed in NodeGit","articleBody":"I am trying to revert a branch commit by using the Revert.revert() and trying to pass in the RevertOptions, but I am unable to create that instance to give it the necessary values. I get a \"Property 'RevertOptions' does not exist on type 'typeof'...\".\r\n\r\nI am using Typescript. I wrote it as:\r\n\r\nconst revertOpts = new NodeGit.RevertOptions(); \r\n\r\nand get that error, however I have no problems when creating an instance of MergeOptions. Also noticed that RevertOptions is also an interface while MergeOptions is a class\r\n\r\nAm I doing this correctly?","author":{"url":"https://github.com/kevin-tla","@type":"Person","name":"kevin-tla"},"datePublished":"2018-12-10T19:11:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/1597/nodegit/issues/1597"}
| 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:a83dd6ef-e033-7ecb-4018-49a92c3946a0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A92A:39B1FE:321F181:46B7ABE:6A5F8A57 |
| html-safe-nonce | 157f48f69876964eb4951bb98cd3898fcb7efd554c0c209b1c9da7ff4d9c032f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTJBOjM5QjFGRTozMjFGMTgxOjQ2QjdBQkU6NkE1RjhBNTciLCJ2aXNpdG9yX2lkIjoiMzUzNTI5MDkzMjkyMDI4OTg3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b677b81b52c13465999981dd0ce1ef5513c5d3f57614961db93d84882fcb86bc |
| hovercard-subject-tag | issue:389445111 |
| 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/nodegit/nodegit/1597/issue_layout |
| twitter:image | https://opengraph.githubassets.com/29c453606518e66217ea8edcaa6bc55f1e9b9cde16b67a4acc04438c90493feb/nodegit/nodegit/issues/1597 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/29c453606518e66217ea8edcaa6bc55f1e9b9cde16b67a4acc04438c90493feb/nodegit/nodegit/issues/1597 |
| og:image:alt | I am trying to revert a branch commit by using the Revert.revert() and trying to pass in the RevertOptions, but I am unable to create that instance to give it the necessary values. I get a "Propert... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kevin-tla |
| hostname | github.com |
| expected-hostname | github.com |
| None | 05a5a04783bf869edc9d6ffbeac22f1152a11abce708ff1bf649457a9b96836a |
| turbo-cache-control | no-preview |
| go-import | github.com/nodegit/nodegit git https://github.com/nodegit/nodegit.git |
| octolytics-dimension-user_id | 657068 |
| octolytics-dimension-user_login | nodegit |
| octolytics-dimension-repository_id | 1383170 |
| octolytics-dimension-repository_nwo | nodegit/nodegit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1383170 |
| octolytics-dimension-repository_network_root_nwo | nodegit/nodegit |
| 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 | ebe18dcab12b14d87b778dc32f6b70e7a6910911 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width