Title: Unable to get reference for HEAD · Issue #311 · nodegit/nodegit · GitHub
Open Graph Title: Unable to get reference for HEAD · Issue #311 · nodegit/nodegit
X Title: Unable to get reference for HEAD · Issue #311 · nodegit/nodegit
Description: When I try to get the reference for 'HEAD' in version 0.2.3: repo.getReference('HEAD').then(function() { console.log('success'); }, function() { console.log('error'); }); I do not see 'success' nor 'error'. It just doesn't do anything. I...
Open Graph Description: When I try to get the reference for 'HEAD' in version 0.2.3: repo.getReference('HEAD').then(function() { console.log('success'); }, function() { console.log('error'); }); I do not see 'success' nor...
X Description: When I try to get the reference for 'HEAD' in version 0.2.3: repo.getReference('HEAD').then(function() { console.log('success'); }, function() { console.log('error')...
Opengraph URL: https://github.com/nodegit/nodegit/issues/311
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to get reference for HEAD","articleBody":"When I try to get the reference for 'HEAD' in version 0.2.3:\n\n``` js\nrepo.getReference('HEAD').then(function() {\n console.log('success');\n}, function() {\n console.log('error');\n});\n```\n\nI do not see 'success' nor 'error'. It just doesn't do anything. If it fails, I would expect to see 'error'..\n","author":{"url":"https://github.com/Athaphian","@type":"Person","name":"Athaphian"},"datePublished":"2014-12-04T11:55:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/311/nodegit/issues/311"}
| 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:7b7f9892-c078-01cb-1724-6938225f0416 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA9C:2B224D:26ED510:3439073:6A5D8E42 |
| html-safe-nonce | af862bdf3d8f09592247854b9a012add2f3918255b59501d53e016ac73aec807 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTlDOjJCMjI0RDoyNkVENTEwOjM0MzkwNzM6NkE1RDhFNDIiLCJ2aXNpdG9yX2lkIjoiNzAwMzU0OTg4ODU2MDMzNjQ1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f7bd74c94e5340dfd0716731072787150f0ea5c5e7b24567a682e17cb047aa73 |
| hovercard-subject-tag | issue:50966613 |
| 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/311/issue_layout |
| twitter:image | https://opengraph.githubassets.com/399e74a0158959b1de56bdfdfa4448c8610280ae2d8816fc5adefeabe8c68612/nodegit/nodegit/issues/311 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/399e74a0158959b1de56bdfdfa4448c8610280ae2d8816fc5adefeabe8c68612/nodegit/nodegit/issues/311 |
| og:image:alt | When I try to get the reference for 'HEAD' in version 0.2.3: repo.getReference('HEAD').then(function() { console.log('success'); }, function() { console.log('error'); }); I do not see 'success' nor... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Athaphian |
| 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