Title: stash: partial stash specific files by gitkraken-jacobw · Pull Request #10 · nodegit/libgit2 · GitHub
Open Graph Title: stash: partial stash specific files by gitkraken-jacobw · Pull Request #10 · nodegit/libgit2
X Title: stash: partial stash specific files by gitkraken-jacobw · Pull Request #10 · nodegit/libgit2
Description: Copy-pasted from main libgit2 repo: There's this concept called partial stashing in Git where users are able to stash desired files without having to stash and also reset the entire workdir. I based my implementation on tiennou's suggestion from libgit2#4725. This introduces options to git_stash_save where developers are able to supply the paths that they want to have stashed from the workdir. I could have gone further and have exposed a git_index* option as tiennou suggested, but I chose not to at this moment. Let me know if I should expose a git_index* option so that users can supply an arbitrary index to be stashed. I also introduced GIT_STASH_KEEP_ALL, which prevents resetting the index and workdir once a stash has been completed.
Open Graph Description: Copy-pasted from main libgit2 repo: There's this concept called partial stashing in Git where users are able to stash desired files without having to stash and also reset the entire workdir. I ...
X Description: Copy-pasted from main libgit2 repo: There's this concept called partial stashing in Git where users are able to stash desired files without having to stash and also reset the entire workdir...
Opengraph URL: https://github.com/nodegit/libgit2/pull/10
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:da613491-d485-04db-239d-1f26559d1ab4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C81E:8D035:5BAC2:80252:6A61F75F |
| html-safe-nonce | ee9e78d9c157125a1e9ca152a04454cc6970798790a69654c05b432027107d22 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODFFOjhEMDM1OjVCQUMyOjgwMjUyOjZBNjFGNzVGIiwidmlzaXRvcl9pZCI6IjY0NTQzNDc2NzQ0ODIyNDM0MjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1e063eb50ad18602f846b1b5c50e589f9d189daac000b099ae04529c243847cf |
| hovercard-subject-tag | pull_request:982866919 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/nodegit/libgit2/pull/10/files |
| twitter:image | https://avatars.githubusercontent.com/u/106689772?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/106689772?s=400&v=4 |
| og:image:alt | Copy-pasted from main libgit2 repo: There's this concept called partial stashing in Git where users are able to stash desired files without having to stash and also reset the entire workdir. I ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d88d9dd41cd32712dc23ff01ba406271c88c4858198430c255d591be42a1166f |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/nodegit/libgit2 git https://github.com/nodegit/libgit2.git |
| octolytics-dimension-user_id | 657068 |
| octolytics-dimension-user_login | nodegit |
| octolytics-dimension-repository_id | 30660191 |
| octolytics-dimension-repository_nwo | nodegit/libgit2 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 901662 |
| octolytics-dimension-repository_parent_nwo | libgit2/libgit2 |
| octolytics-dimension-repository_network_root_id | 901662 |
| octolytics-dimension-repository_network_root_nwo | libgit2/libgit2 |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a7f024eda6b8ce06d29c9276168423bfe05bafae |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width