Title: A guide on how to create a new branch, switch to it and delete it. · Issue #588 · nodegit/nodegit · GitHub
Open Graph Title: A guide on how to create a new branch, switch to it and delete it. · Issue #588 · nodegit/nodegit
X Title: A guide on how to create a new branch, switch to it and delete it. · Issue #588 · nodegit/nodegit
Description: It would be useful to have a guide that shows us how to create a new branch, do something with it, and delete it. I tried both repo.checkoutBranch(name); and Git.Branch.create(repo, name, commit, 0, Git.Signature.now("Gabriel Petrovay", ...
Open Graph Description: It would be useful to have a guide that shows us how to create a new branch, do something with it, and delete it. I tried both repo.checkoutBranch(name); and Git.Branch.create(repo, name, commit, 0...
X Description: It would be useful to have a guide that shows us how to create a new branch, do something with it, and delete it. I tried both repo.checkoutBranch(name); and Git.Branch.create(repo, name, commit, 0...
Opengraph URL: https://github.com/nodegit/nodegit/issues/588
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"A guide on how to create a new branch, switch to it and delete it.","articleBody":"It would be useful to have a guide that shows us how to create a new branch, do something with it, and delete it.\n\nI tried both `repo.checkoutBranch(name);` and `Git.Branch.create(repo, name, commit, 0, Git.Signature.now(\"Gabriel Petrovay\", \"gabipetrovay@gmail.com|~ \", \"\")).then(function (branch) { ... })` but no success. The former has no effect and the latter also complains that a callback is missing (which one I have no idea).\n","author":{"url":"https://github.com/gabipetrovay","@type":"Person","name":"gabipetrovay"},"datePublished":"2015-05-21T11:08:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/588/nodegit/issues/588"}
| 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:3741506d-6858-317e-016c-a51e1b0d713d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ABB0:26FD39:1603515:1D9E0E6:6A5D2617 |
| html-safe-nonce | 9686614756e26935e92afb7a8291be26612b270fd2ddb985970726ae95dba0c6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkIwOjI2RkQzOToxNjAzNTE1OjFEOUUwRTY6NkE1RDI2MTciLCJ2aXNpdG9yX2lkIjoiNDEzODUxMjU1Njk5ODA3NTkyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | aec6313d059fc65cc17411662d5dd30a7a9ecaaf08ce2c21bb0128b564fcde4d |
| hovercard-subject-tag | issue:78946840 |
| 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/588/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0d6eef5f2a2e75aabdb9cd90367326e4396d9fc51ac815abf61ba540990075f5/nodegit/nodegit/issues/588 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0d6eef5f2a2e75aabdb9cd90367326e4396d9fc51ac815abf61ba540990075f5/nodegit/nodegit/issues/588 |
| og:image:alt | It would be useful to have a guide that shows us how to create a new branch, do something with it, and delete it. I tried both repo.checkoutBranch(name); and Git.Branch.create(repo, name, commit, 0... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gabipetrovay |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width