| 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:065816d3-f706-2d21-864f-c6e0d87860e9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D48C:43F78:468B07A:5BD63F1:6A5D3FA7 |
| html-safe-nonce | 45fba2a9fd13619768cd381987a79e7d4e59bfc280b1ee2c7ab3ae73cdb7a901 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDhDOjQzRjc4OjQ2OEIwN0E6NUJENjNGMTo2QTVEM0ZBNyIsInZpc2l0b3JfaWQiOiI2NTM2NDYyMjEyNDk2OTE1NTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 85e2cb2822879fa62cf73d1e45ee42ecd740795c3581642b236786d212489f01 |
| hovercard-subject-tag | pull_request:27471714 |
| 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/libgit2/libgit2/2824/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/bdf2bb58830bf66a50eb7522ba08d5b3aa0619f14b83d40ffad4739541ad3427/libgit2/libgit2/pull/2824 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bdf2bb58830bf66a50eb7522ba08d5b3aa0619f14b83d40ffad4739541ad3427/libgit2/libgit2/pull/2824 |
| og:image:alt | @ethomson Here it is! My first example contribution. Not yet compiling! Needs some discussion! |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | antis81 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-cache |
| go-import | github.com/libgit2/libgit2 git https://github.com/libgit2/libgit2.git |
| octolytics-dimension-user_id | 394745 |
| octolytics-dimension-user_login | libgit2 |
| octolytics-dimension-repository_id | 901662 |
| octolytics-dimension-repository_nwo | libgit2/libgit2 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 901662 |
| octolytics-dimension-repository_network_root_nwo | libgit2/libgit2 |
| 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 |
| Skip to content | https://github.com/libgit2/libgit2/pull/2824#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flibgit2%2Flibgit2%2Fpull%2F2824 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| 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 |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| 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/enterprise/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%2Flibgit2%2Flibgit2%2Fpull%2F2824 |
|
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=libgit2%2Flibgit2 |
| Reload | https://github.com/libgit2/libgit2/pull/2824 |
| Reload | https://github.com/libgit2/libgit2/pull/2824 |
| Reload | https://github.com/libgit2/libgit2/pull/2824 |
| Please reload this page | https://github.com/libgit2/libgit2/pull/2824 |
|
libgit2
| https://github.com/libgit2 |
| libgit2 | https://github.com/libgit2/libgit2 |
|
Notifications
| https://github.com/login?return_to=%2Flibgit2%2Flibgit2 |
|
Fork
2.6k
| https://github.com/login?return_to=%2Flibgit2%2Flibgit2 |
|
Star
10.5k
| https://github.com/login?return_to=%2Flibgit2%2Flibgit2 |
|
Code
| https://github.com/libgit2/libgit2 |
|
Issues
423
| https://github.com/libgit2/libgit2/issues |
|
Pull requests
108
| https://github.com/libgit2/libgit2/pulls |
|
Discussions
| https://github.com/libgit2/libgit2/discussions |
|
Actions
| https://github.com/libgit2/libgit2/actions |
|
Projects
| https://github.com/libgit2/libgit2/projects |
|
Security and quality
9
| https://github.com/libgit2/libgit2/security |
|
Insights
| https://github.com/libgit2/libgit2/pulse |
|
Code
| https://github.com/libgit2/libgit2 |
|
Issues
| https://github.com/libgit2/libgit2/issues |
|
Pull requests
| https://github.com/libgit2/libgit2/pulls |
|
Discussions
| https://github.com/libgit2/libgit2/discussions |
|
Actions
| https://github.com/libgit2/libgit2/actions |
|
Projects
| https://github.com/libgit2/libgit2/projects |
|
Security and quality
| https://github.com/libgit2/libgit2/security |
|
Insights
| https://github.com/libgit2/libgit2/pulse |
| antis81 | https://github.com/antis81 |
| libgit2:master | https://github.com/libgit2/libgit2/tree/master |
| antis81:ngf/checkout-examples | https://github.com/antis81/libgit2/tree/ngf/checkout-examples |
| Conversation | https://github.com/libgit2/libgit2/pull/2824 |
| Commits6 (6) | https://github.com/libgit2/libgit2/pull/2824/commits |
| Checks | https://github.com/libgit2/libgit2/pull/2824/checks |
| Files changed | https://github.com/libgit2/libgit2/pull/2824/files |
| add example "do_checkout_ref" | https://github.com/libgit2/libgit2/pull/2824#top |
| antis81 | https://github.com/antis81 |
| libgit2:master | https://github.com/libgit2/libgit2/tree/master |
| antis81:ngf/checkout-examples | https://github.com/antis81/libgit2/tree/ngf/checkout-examples |
|
| https://github.com/antis81 |
| antis81 | https://github.com/antis81 |
| Jan 15, 2015 | https://github.com/libgit2/libgit2/pull/2824#issue-54519378 |
| @ethomson | https://github.com/ethomson |
| Please reload this page | https://github.com/libgit2/libgit2/pull/2824 |
| antis81 | https://github.com/antis81 |
| January 16, 2015 00:17 | https://github.com/libgit2/libgit2/pull/2824#commits-pushed-89dab2e |
|
| https://github.com/antis81 |
| add first checkout example "do_checkout_ref" | https://github.com/libgit2/libgit2/pull/2824/commits/89dab2e1893e26e8856b50a47b4a55ab814306a6 |
| 89dab2e | https://github.com/libgit2/libgit2/pull/2824/commits/89dab2e1893e26e8856b50a47b4a55ab814306a6 |
|
| https://github.com/antis81 |
| added include guards | https://github.com/libgit2/libgit2/pull/2824/commits/27d544c5577393eedb3346473560e74751221395 |
| 27d544c | https://github.com/libgit2/libgit2/pull/2824/commits/27d544c5577393eedb3346473560e74751221395 |
|
| https://github.com/antis81 |
| renamed include guards | https://github.com/libgit2/libgit2/pull/2824/commits/5c301ef5c9ef942e24b0d4bd6f3291bf5b17ea0a |
| 5c301ef | https://github.com/libgit2/libgit2/pull/2824/commits/5c301ef5c9ef942e24b0d4bd6f3291bf5b17ea0a |
|
| https://github.com/antis81 |
| fixed struct initialization in examples/checkout.c | https://github.com/libgit2/libgit2/pull/2824/commits/0786372714de3461f5082e89aa91fedcb8212f64 |
| 0786372 | https://github.com/libgit2/libgit2/pull/2824/commits/0786372714de3461f5082e89aa91fedcb8212f64 |
|
| https://github.com/antis81 |
| examples: copied size_t format specifier from network/common.h to com… | https://github.com/libgit2/libgit2/pull/2824/commits/1429d1eeadbb34aa8a35a6c7d1da0a25cc5127fd |
| 1429d1e | https://github.com/libgit2/libgit2/pull/2824/commits/1429d1eeadbb34aa8a35a6c7d1da0a25cc5127fd |
| https://github.com/antis81 |
| antis81 | https://github.com/antis81 |
| Jan 16, 2015 | https://github.com/libgit2/libgit2/pull/2824#issuecomment-70248540 |
| Please reload this page | https://github.com/libgit2/libgit2/pull/2824 |
| https://github.com/ashisdhimal |
| ashisdhimal | https://github.com/ashisdhimal |
| Jan 18, 2015 | https://github.com/libgit2/libgit2/pull/2824#issuecomment-70424126 |
| #2824 (comment) | https://github.com/libgit2/libgit2/pull/2824#issuecomment-70248540 |
| Please reload this page | https://github.com/libgit2/libgit2/pull/2824 |
| https://github.com/antis81 |
| antis81 | https://github.com/antis81 |
| Jan 19, 2015 | https://github.com/libgit2/libgit2/pull/2824#issuecomment-70483077 |
| @ashisdhimal | https://github.com/ashisdhimal |
| Please reload this page | https://github.com/libgit2/libgit2/pull/2824 |
| https://github.com/Therzok |
| Therzok | https://github.com/Therzok |
| Jan 19, 2015 | https://github.com/libgit2/libgit2/pull/2824#issuecomment-70483409 |
| SO | http://stackoverflow.com/questions/14919366/how-to-compile-library-on-c-using-gcc |
| Please reload this page | https://github.com/libgit2/libgit2/pull/2824 |
| https://github.com/Therzok |
| Therzok | https://github.com/Therzok |
| Jan 19, 2015 | https://github.com/libgit2/libgit2/pull/2824#issuecomment-70483537 |
| Makefile | https://github.com/libgit2/libgit2/blob/master/examples/Makefile |
| Please reload this page | https://github.com/libgit2/libgit2/pull/2824 |
| https://github.com/Therzok |
| Therzok | https://github.com/Therzok |
| Jan 19, 2015 | https://github.com/libgit2/libgit2/pull/2824#issuecomment-70483732 |
| 56ec225 | https://github.com/libgit2/libgit2/commit/56ec2256f24eb43b09351194d02cd8458ff39708 |
| Please reload this page | https://github.com/libgit2/libgit2/pull/2824 |
|
| https://github.com/antis81 |
| add a main function and executable target to the checkout example | https://github.com/libgit2/libgit2/pull/2824/commits/a3edf8b890e63d1479c4e7f0ca3cf8765c25cc6a |
| a3edf8b | https://github.com/libgit2/libgit2/pull/2824/commits/a3edf8b890e63d1479c4e7f0ca3cf8765c25cc6a |
| https://github.com/antis81 |
| antis81 | https://github.com/antis81 |
| Jan 19, 2015 | https://github.com/libgit2/libgit2/pull/2824#issuecomment-70488900 |
| Please reload this page | https://github.com/libgit2/libgit2/pull/2824 |
| https://github.com/Therzok |
| Therzok | https://github.com/Therzok |
| Jan 19, 2015 | https://github.com/libgit2/libgit2/pull/2824#issuecomment-70491651 |
| @antis81 | https://github.com/antis81 |
| Please reload this page | https://github.com/libgit2/libgit2/pull/2824 |
| https://github.com/antis81 |
| antis81 | https://github.com/antis81 |
| Jan 21, 2015 | https://github.com/libgit2/libgit2/pull/2824#issuecomment-70842818 |
| @antis81 | https://github.com/antis81 |
| Please reload this page | https://github.com/libgit2/libgit2/pull/2824 |
| https://github.com/antis81 |
| antis81 | https://github.com/antis81 |
| Feb 10, 2015 | https://github.com/libgit2/libgit2/pull/2824#issuecomment-73682700 |
| @ethomson | https://github.com/ethomson |
| Please reload this page | https://github.com/libgit2/libgit2/pull/2824 |
| https://github.com/pks-t |
| pks-t | https://github.com/pks-t |
|
Mar 22, 2018
| https://github.com/libgit2/libgit2/pull/2824#pullrequestreview-106111387 |
|
View reviewed changes
| https://github.com/libgit2/libgit2/pull/2824/files/a3edf8b890e63d1479c4e7f0ca3cf8765c25cc6a |
| pks-t | https://github.com/pks-t |
| https://github.com/libgit2/libgit2/pull/2824#pullrequestreview-106111387 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/libgit2/libgit2/pull/2824 |
| examples/checkout.c | https://github.com/libgit2/libgit2/pull/2824/files/a3edf8b890e63d1479c4e7f0ca3cf8765c25cc6a#diff-7e874d365ce9b9bc883296a59ded7b244a8bc54b0133c5eab1ede9030f88c444 |
| pks-t | https://github.com/pks-t |
| Mar 22, 2018 | https://github.com/libgit2/libgit2/pull/2824#discussion_r176415244 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/libgit2/libgit2/pull/2824 |
| examples/checkout.c | https://github.com/libgit2/libgit2/pull/2824/files/a3edf8b890e63d1479c4e7f0ca3cf8765c25cc6a#diff-7e874d365ce9b9bc883296a59ded7b244a8bc54b0133c5eab1ede9030f88c444 |
| pks-t | https://github.com/pks-t |
| Mar 22, 2018 | https://github.com/libgit2/libgit2/pull/2824#discussion_r176415466 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/libgit2/libgit2/pull/2824 |
| examples/checkout.c | https://github.com/libgit2/libgit2/pull/2824/files/a3edf8b890e63d1479c4e7f0ca3cf8765c25cc6a#diff-7e874d365ce9b9bc883296a59ded7b244a8bc54b0133c5eab1ede9030f88c444 |
| pks-t | https://github.com/pks-t |
| Mar 22, 2018 | https://github.com/libgit2/libgit2/pull/2824#discussion_r176415821 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/libgit2/libgit2/pull/2824 |
| examples/checkout.c | https://github.com/libgit2/libgit2/pull/2824/files/a3edf8b890e63d1479c4e7f0ca3cf8765c25cc6a#diff-7e874d365ce9b9bc883296a59ded7b244a8bc54b0133c5eab1ede9030f88c444 |
| pks-t | https://github.com/pks-t |
| Mar 22, 2018 | https://github.com/libgit2/libgit2/pull/2824#discussion_r176416287 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/libgit2/libgit2/pull/2824 |
| examples/checkout.c | https://github.com/libgit2/libgit2/pull/2824/files/a3edf8b890e63d1479c4e7f0ca3cf8765c25cc6a#diff-7e874d365ce9b9bc883296a59ded7b244a8bc54b0133c5eab1ede9030f88c444 |
| pks-t | https://github.com/pks-t |
| Mar 22, 2018 | https://github.com/libgit2/libgit2/pull/2824#discussion_r176416534 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/libgit2/libgit2/pull/2824 |
| examples/checkout.c | https://github.com/libgit2/libgit2/pull/2824/files/a3edf8b890e63d1479c4e7f0ca3cf8765c25cc6a#diff-7e874d365ce9b9bc883296a59ded7b244a8bc54b0133c5eab1ede9030f88c444 |
| pks-t | https://github.com/pks-t |
| Mar 22, 2018 | https://github.com/libgit2/libgit2/pull/2824#discussion_r176417258 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/libgit2/libgit2/pull/2824 |
| examples/checkout.c | https://github.com/libgit2/libgit2/pull/2824/files/a3edf8b890e63d1479c4e7f0ca3cf8765c25cc6a#diff-7e874d365ce9b9bc883296a59ded7b244a8bc54b0133c5eab1ede9030f88c444 |
| pks-t | https://github.com/pks-t |
| Mar 22, 2018 | https://github.com/libgit2/libgit2/pull/2824#discussion_r176417496 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/libgit2/libgit2/pull/2824 |
| https://github.com/pks-t |
| pks-t | https://github.com/pks-t |
|
feedback provided
| https://github.com/libgit2/libgit2/issues?q=state%3Aopen%20label%3A%22feedback%20provided%22 |
| Mar 22, 2018 | https://github.com/libgit2/libgit2/pull/2824#event-1535559529 |
| https://github.com/tiennou |
| tiennou | https://github.com/tiennou |
|
Jun 23, 2018
| https://github.com/libgit2/libgit2/pull/2824#ref-pullrequest-335102289 |
|
Add a checkout example
#4692
| https://github.com/libgit2/libgit2/pull/4692 |
| https://github.com/tiennou |
| tiennou | https://github.com/tiennou |
| May 27, 2019 | https://github.com/libgit2/libgit2/pull/2824#issuecomment-496200649 |
| #4692 | https://github.com/libgit2/libgit2/pull/4692 |
| Please reload this page | https://github.com/libgit2/libgit2/pull/2824 |
| https://github.com/tiennou |
| tiennou | https://github.com/tiennou |
| May 27, 2019 | https://github.com/libgit2/libgit2/pull/2824#event-2369319825 |
| https://github.co/hiddenchars |
| https://github.com/libgit2/libgit2/pull/{{ revealButtonHref }} |
| 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%2Flibgit2%2Flibgit2%2Fpull%2F2824 |
|
| https://github.com/pks-t |
|
pks-t
| https://github.com/pks-t |
|
| https://github.com/libgit2/libgit2/pull/2824/files/a3edf8b890e63d1479c4e7f0ca3cf8765c25cc6a |
|
feedback provided
| https://github.com/libgit2/libgit2/issues?q=state%3Aopen%20label%3A%22feedback%20provided%22 |
| Please reload this page | https://github.com/libgit2/libgit2/pull/2824 |
|
| https://github.com/antis81 |
|
| https://github.com/ashisdhimal |
|
| https://github.com/Therzok |
|
| https://github.com/tiennou |
|
| https://github.com/pks-t |
|
| 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 |