| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:29971484-6f95-8254-0faf-21fa734b6f43 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E082:2C38E5:388F55F:4F43940:697124C8 |
| html-safe-nonce | ed70596494cc4d3759b8224e5259eb6488426b9655ac86a8d5bf20eecf6986e0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDgyOjJDMzhFNTozODhGNTVGOjRGNDM5NDA6Njk3MTI0QzgiLCJ2aXNpdG9yX2lkIjoiNTI1Mjg5MTA0NjU0OTk4ODU1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 44bfac1661d7f0afa470c9dd4b77e9504ebe33ebdff7e45b63a2eb4bb2cc1f03 |
| hovercard-subject-tag | pull_request:27306501 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/nodegit/nodegit/347/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/0e1d4ad64277bb101956a4f611e2bfa7d0669e22dd44c6e133330733ba6cf947/nodegit/nodegit/pull/347 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0e1d4ad64277bb101956a4f611e2bfa7d0669e22dd44c6e133330733ba6cf947/nodegit/nodegit/pull/347 |
| og:image:alt | This exposes the libgit2 git_checkout_head method and adds a test. This method will let the user put whatever is in the index that's pointed to by HEAD into the passed repository. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | johnhaley81 |
| hostname | github.com |
| expected-hostname | github.com |
| None | d8bf5373bf714a973a48ff6e39919055ffeb8fb275ee80b009c0532d6e0f0c68 |
| 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 | 4fbcc41ab94dbb05f665e4608286c36baa99ad43 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/nodegit/nodegit/pull/347#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodegit%2Fnodegit%2Fpull%2F347 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodegit%2Fnodegit%2Fpull%2F347 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=nodegit%2Fnodegit |
| Reload | https://github.com/nodegit/nodegit/pull/347 |
| Reload | https://github.com/nodegit/nodegit/pull/347 |
| Reload | https://github.com/nodegit/nodegit/pull/347 |
|
nodegit
| https://github.com/nodegit |
| nodegit | https://github.com/nodegit/nodegit |
|
Notifications
| https://github.com/login?return_to=%2Fnodegit%2Fnodegit |
|
Fork
697
| https://github.com/login?return_to=%2Fnodegit%2Fnodegit |
|
Star
5.8k
| https://github.com/login?return_to=%2Fnodegit%2Fnodegit |
|
Code
| https://github.com/nodegit/nodegit |
|
Issues
343
| https://github.com/nodegit/nodegit/issues |
|
Pull requests
19
| https://github.com/nodegit/nodegit/pulls |
|
Actions
| https://github.com/nodegit/nodegit/actions |
|
Projects
0
| https://github.com/nodegit/nodegit/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/nodegit/nodegit/security |
| Please reload this page | https://github.com/nodegit/nodegit/pull/347 |
|
Insights
| https://github.com/nodegit/nodegit/pulse |
|
Code
| https://github.com/nodegit/nodegit |
|
Issues
| https://github.com/nodegit/nodegit/issues |
|
Pull requests
| https://github.com/nodegit/nodegit/pulls |
|
Actions
| https://github.com/nodegit/nodegit/actions |
|
Projects
| https://github.com/nodegit/nodegit/projects |
|
Security
| https://github.com/nodegit/nodegit/security |
|
Insights
| https://github.com/nodegit/nodegit/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fnodegit%2Fnodegit%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fnodegit%2Fnodegit%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/nodegit/nodegit/pull/347#issue-comment-box |
| johnhaley81 | https://github.com/johnhaley81 |
| master | https://github.com/nodegit/nodegit/tree/master |
| fix-checkout | https://github.com/nodegit/nodegit/tree/fix-checkout |
|
Added checkout head method and tests
| https://github.com/nodegit/nodegit/pull/347#top |
| johnhaley81 | https://github.com/johnhaley81 |
| master | https://github.com/nodegit/nodegit/tree/master |
| fix-checkout | https://github.com/nodegit/nodegit/tree/fix-checkout |
|
Conversation
0
| https://github.com/nodegit/nodegit/pull/347 |
|
Commits
1
| https://github.com/nodegit/nodegit/pull/347/commits |
|
Checks
0
| https://github.com/nodegit/nodegit/pull/347/checks |
|
Files changed
| https://github.com/nodegit/nodegit/pull/347/files |
| Please reload this page | https://github.com/nodegit/nodegit/pull/347 |
| https://github.co/hiddenchars |
| https://github.com/nodegit/nodegit/pull/{{ revealButtonHref }} |
|
| https://github.com/johnhaley81 |
| johnhaley81 | https://github.com/johnhaley81 |
| Jan 13, 2015 | https://github.com/nodegit/nodegit/pull/347#issue-54250944 |
| Please reload this page | https://github.com/nodegit/nodegit/pull/347 |
| https://github.com/johnhaley81 |
| johnhaley81 | https://github.com/johnhaley81 |
| force-pushed | https://github.com/nodegit/nodegit/compare/10b481400ac74e7be7f7239ae2cb983db97b940e..3ab745437b5051a50253ece6cb20cbbc878d7e3f |
| 10b4814 | https://github.com/nodegit/nodegit/commit/10b481400ac74e7be7f7239ae2cb983db97b940e |
| 3ab7454 | https://github.com/nodegit/nodegit/commit/3ab745437b5051a50253ece6cb20cbbc878d7e3f |
|
Compare
| https://github.com/nodegit/nodegit/compare/10b481400ac74e7be7f7239ae2cb983db97b940e..3ab745437b5051a50253ece6cb20cbbc878d7e3f |
| January 14, 2015 16:54 | https://github.com/nodegit/nodegit/pull/347#event-218865276 |
| https://github.com/johnhaley81 |
| johnhaley81 | https://github.com/johnhaley81 |
| Jan 14, 2015 | https://github.com/nodegit/nodegit/pull/347#event-218865650 |
| Added checkout head method and tests | https://github.com/nodegit/nodegit/pull/347/commits/2a87e60468982b92f6d08be9be43a2fd8130a8a6 |
| 2a87e60 | https://github.com/nodegit/nodegit/pull/347/commits/2a87e60468982b92f6d08be9be43a2fd8130a8a6 |
| https://github.com/johnhaley81 |
| johnhaley81 | https://github.com/johnhaley81 |
| force-pushed | https://github.com/nodegit/nodegit/compare/2cca18b79ceeff433c33d38680051b771aa682a1..2a87e60468982b92f6d08be9be43a2fd8130a8a6 |
| 2cca18b | https://github.com/nodegit/nodegit/commit/2cca18b79ceeff433c33d38680051b771aa682a1 |
| 2a87e60 | https://github.com/nodegit/nodegit/commit/2a87e60468982b92f6d08be9be43a2fd8130a8a6 |
|
Compare
| https://github.com/nodegit/nodegit/compare/2cca18b79ceeff433c33d38680051b771aa682a1..2a87e60468982b92f6d08be9be43a2fd8130a8a6 |
| January 15, 2015 20:01 | https://github.com/nodegit/nodegit/pull/347#event-219657279 |
| johnhaley81 | https://github.com/johnhaley81 |
|
Jan 15, 2015
| https://github.com/nodegit/nodegit/pull/347#ref-commit-81c51db |
|
| https://github.com/johnhaley81 |
| Merge pull request | https://github.com/nodegit/nodegit/commit/81c51dba7ffbecb6a6257398f5ad3ad9be775c8d |
| #347 | https://github.com/nodegit/nodegit/pull/347 |
| from nodegit/fix-checkout | https://github.com/nodegit/nodegit/commit/81c51dba7ffbecb6a6257398f5ad3ad9be775c8d |
| 81c51db | https://github.com/nodegit/nodegit/commit/81c51dba7ffbecb6a6257398f5ad3ad9be775c8d |
| https://github.com/johnhaley81 |
| johnhaley81 | https://github.com/johnhaley81 |
| 81c51db | https://github.com/nodegit/nodegit/commit/81c51dba7ffbecb6a6257398f5ad3ad9be775c8d |
| Jan 15, 2015 | https://github.com/nodegit/nodegit/pull/347#event-219657402 |
| https://github.com/johnhaley81 |
| johnhaley81 | https://github.com/johnhaley81 |
| January 15, 2015 20:01 | https://github.com/nodegit/nodegit/pull/347#event-219657417 |
| https://github.com/snyk-bot |
| snyk-bot | https://github.com/snyk-bot |
|
Jul 17, 2020
| https://github.com/nodegit/nodegit/pull/347#ref-pullrequest-658930478 |
|
[Snyk] Security upgrade node-pre-gyp from 0.6.39 to 0.9.0
contentascode/nodegit#8
| https://github.com/contentascode/nodegit/pull/8 |
| https://github.com/snyk-bot |
| snyk-bot | https://github.com/snyk-bot |
|
Aug 5, 2021
| https://github.com/nodegit/nodegit/pull/347#ref-pullrequest-961308914 |
|
[Snyk] Fix for 2 vulnerabilities
contentascode/nodegit#12
| https://github.com/contentascode/nodegit/pull/12 |
| https://github.com/snyk-bot |
| snyk-bot | https://github.com/snyk-bot |
|
Aug 12, 2021
| https://github.com/nodegit/nodegit/pull/347#ref-pullrequest-969750901 |
|
[Snyk] Security upgrade node-pre-gyp from 0.6.39 to 0.8.0
contentascode/nodegit#14
| https://github.com/contentascode/nodegit/pull/14 |
| https://github.com/jmatsushita |
| jmatsushita | https://github.com/jmatsushita |
|
Jun 29, 2022
| https://github.com/nodegit/nodegit/pull/347#ref-pullrequest-1289059804 |
|
[Snyk] Security upgrade node-pre-gyp from 0.6.39 to 0.9.0
contentascode/nodegit#16
| https://github.com/contentascode/nodegit/pull/16 |
|
[Snyk] Fix for 8 vulnerabilities
takeratta/nodegit#2
| https://github.com/takeratta/nodegit/pull/2 |
|
[Snyk] Fix for 1 vulnerabilities
takeratta/nodegit#3
| https://github.com/takeratta/nodegit/pull/3 |
| https://github.com/jmatsushita |
| jmatsushita | https://github.com/jmatsushita |
|
Dec 19, 2023
| https://github.com/nodegit/nodegit/pull/347#ref-pullrequest-2048920549 |
|
[Snyk] Fix for 13 vulnerabilities
contentascode/nodegit#20
| https://github.com/contentascode/nodegit/pull/20 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodegit%2Fnodegit%2Fpull%2F347 |
| Please reload this page | https://github.com/nodegit/nodegit/pull/347 |
|
| https://github.com/johnhaley81 |
|
| https://github.com/apps/copilot-swe-agent |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |