René's URL Explorer Experiment


Title: Add an option to stash changes before running hooks by kevinoid · Pull Request #63 · observing/pre-commit · GitHub

Open Graph Title: Add an option to stash changes before running hooks by kevinoid · Pull Request #63 · observing/pre-commit

X Title: Add an option to stash changes before running hooks by kevinoid · Pull Request #63 · observing/pre-commit

Description: In order to ensure any pre-commit tests are run against the files as they will appear in the commit, this PR adds an option to run git stash to save any changes to the working tree before running t...

Open Graph Description: In order to ensure any pre-commit tests are run against the files as they will appear in the commit, this PR adds an option to run git stash to save any changes to the working tree before running t...

X Description: In order to ensure any pre-commit tests are run against the files as they will appear in the commit, this PR adds an option to run git stash to save any changes to the working tree before running t...

Opengraph URL: https://github.com/observing/pre-commit/pull/63

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:3415de09-2ca4-853a-3bcd-2f45c3472c26
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8706:2D1D83:1131E51:184B08B:6978C53C
html-safe-noncec8cb141c9aacd67e8cec974774db1d40bf1d7c71a21f437bfa7e52f040715180
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzA2OjJEMUQ4MzoxMTMxRTUxOjE4NEIwOEI6Njk3OEM1M0MiLCJ2aXNpdG9yX2lkIjoiNjUxMzEzOTIyMjYyOTEwNzAwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacbd1d0d89e8a6d4ba1df96e79e336688f793c76bef5f7178a17402a844a08d6a7
hovercard-subject-tagpull_request:58513505
github-keyboard-shortcutsrepository,commits,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/observing/pre-commit/63/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/62f892424c2ab07bb8bcaf0cf30524244f4ff419edd887a25c4bdde5a2c28fab/observing/pre-commit/pull/63
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/62f892424c2ab07bb8bcaf0cf30524244f4ff419edd887a25c4bdde5a2c28fab/observing/pre-commit/pull/63
og:image:altIn order to ensure any pre-commit tests are run against the files as they will appear in the commit, this PR adds an option to run git stash to save any changes to the working tree before running t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekevinoid
hostnamegithub.com
expected-hostnamegithub.com
None8a71ca1f7ab5436216e1df86f398ef7a51ed3152c90e3f7332fc70cf97fcb9d6
turbo-cache-controlno-preview
go-importgithub.com/observing/pre-commit git https://github.com/observing/pre-commit.git
octolytics-dimension-user_id1056901
octolytics-dimension-user_loginobserving
octolytics-dimension-repository_id9343284
octolytics-dimension-repository_nwoobserving/pre-commit
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id9343284
octolytics-dimension-repository_network_root_nwoobserving/pre-commit
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseeaed570eead52a9920afef75dc3eb6d826fdc5ef
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/observing/pre-commit/pull/63#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fobserving%2Fpre-commit%2Fpull%2F63
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fobserving%2Fpre-commit%2Fpull%2F63
Sign up https://patch-diff.githubusercontent.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=observing%2Fpre-commit
Reloadhttps://patch-diff.githubusercontent.com/observing/pre-commit/pull/63
Reloadhttps://patch-diff.githubusercontent.com/observing/pre-commit/pull/63
Reloadhttps://patch-diff.githubusercontent.com/observing/pre-commit/pull/63
observing https://patch-diff.githubusercontent.com/observing
pre-commithttps://patch-diff.githubusercontent.com/observing/pre-commit
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fobserving%2Fpre-commit
Fork 150 https://patch-diff.githubusercontent.com/login?return_to=%2Fobserving%2Fpre-commit
Star 1.9k https://patch-diff.githubusercontent.com/login?return_to=%2Fobserving%2Fpre-commit
Code https://patch-diff.githubusercontent.com/observing/pre-commit
Issues 61 https://patch-diff.githubusercontent.com/observing/pre-commit/issues
Pull requests 17 https://patch-diff.githubusercontent.com/observing/pre-commit/pulls
Actions https://patch-diff.githubusercontent.com/observing/pre-commit/actions
Projects 0 https://patch-diff.githubusercontent.com/observing/pre-commit/projects
Wiki https://patch-diff.githubusercontent.com/observing/pre-commit/wiki
Security 0 https://patch-diff.githubusercontent.com/observing/pre-commit/security
Insights https://patch-diff.githubusercontent.com/observing/pre-commit/pulse
Code https://patch-diff.githubusercontent.com/observing/pre-commit
Issues https://patch-diff.githubusercontent.com/observing/pre-commit/issues
Pull requests https://patch-diff.githubusercontent.com/observing/pre-commit/pulls
Actions https://patch-diff.githubusercontent.com/observing/pre-commit/actions
Projects https://patch-diff.githubusercontent.com/observing/pre-commit/projects
Wiki https://patch-diff.githubusercontent.com/observing/pre-commit/wiki
Security https://patch-diff.githubusercontent.com/observing/pre-commit/security
Insights https://patch-diff.githubusercontent.com/observing/pre-commit/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fobserving%2Fpre-commit%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fobserving%2Fpre-commit%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/observing/pre-commit/pull/63#issue-comment-box
kevinoidhttps://patch-diff.githubusercontent.com/kevinoid
observing:masterhttps://patch-diff.githubusercontent.com/observing/pre-commit/tree/master
kevinoid:stash-supporthttps://patch-diff.githubusercontent.com/kevinoid/pre-commit/tree/stash-support
Add an option to stash changes before running hooks https://patch-diff.githubusercontent.com/observing/pre-commit/pull/63#top
kevinoidhttps://patch-diff.githubusercontent.com/kevinoid
observing:masterhttps://patch-diff.githubusercontent.com/observing/pre-commit/tree/master
kevinoid:stash-supporthttps://patch-diff.githubusercontent.com/kevinoid/pre-commit/tree/stash-support
Conversation 3 https://patch-diff.githubusercontent.com/observing/pre-commit/pull/63
Commits 2 https://patch-diff.githubusercontent.com/observing/pre-commit/pull/63/commits
Checks 0 https://patch-diff.githubusercontent.com/observing/pre-commit/pull/63/checks
Files changed https://patch-diff.githubusercontent.com/observing/pre-commit/pull/63/files
Please reload this pagehttps://patch-diff.githubusercontent.com/observing/pre-commit/pull/63
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/observing/pre-commit/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/kevinoid
kevinoidhttps://patch-diff.githubusercontent.com/kevinoid
Feb 6, 2016https://patch-diff.githubusercontent.com/observing/pre-commit/pull/63#issue-131828349
Chris Torek's StackOverflow answerhttps://stackoverflow.com/a/20480591
#4https://github.com/observing/pre-commit/issues/4
#47https://github.com/observing/pre-commit/pull/47
#4https://github.com/observing/pre-commit/issues/4
Please reload this pagehttps://patch-diff.githubusercontent.com/observing/pre-commit/pull/63
kevinoidhttps://patch-diff.githubusercontent.com/kevinoid
February 3, 2016 19:08https://patch-diff.githubusercontent.com/observing/pre-commit/pull/63#commits-pushed-8ab4d7c
https://patch-diff.githubusercontent.com/kevinoid
Split out logOnly method from loghttps://patch-diff.githubusercontent.com/observing/pre-commit/pull/63/commits/8ab4d7c91163f9a95274293a3ec9cd27be2117d2
8ab4d7chttps://patch-diff.githubusercontent.com/observing/pre-commit/pull/63/commits/8ab4d7c91163f9a95274293a3ec9cd27be2117d2
https://patch-diff.githubusercontent.com/kevinoid
Add an option to stash changes before running hookshttps://patch-diff.githubusercontent.com/observing/pre-commit/pull/63/commits/35737280ab3aad6f9cb9939313ef8c0a0357dab1
3573728https://patch-diff.githubusercontent.com/observing/pre-commit/pull/63/commits/35737280ab3aad6f9cb9939313ef8c0a0357dab1
observing#4https://github.com/observing/pre-commit/issues/4
observing#47https://github.com/observing/pre-commit/pull/47
observing#4https://github.com/observing/pre-commit/issues/4
https://stackoverflow.com/a/20480591https://stackoverflow.com/a/20480591
https://patch-diff.githubusercontent.com/3rd-Eden
3rd-Edenhttps://patch-diff.githubusercontent.com/3rd-Eden
Feb 8, 2016https://patch-diff.githubusercontent.com/observing/pre-commit/pull/63#issuecomment-181297123
@Swaagiehttps://github.com/Swaagie
Please reload this pagehttps://patch-diff.githubusercontent.com/observing/pre-commit/pull/63
3rd-Edenhttps://patch-diff.githubusercontent.com/3rd-Eden
Feb 8, 2016 https://patch-diff.githubusercontent.com/observing/pre-commit/pull/63#discussion-diff-52154362
View reviewed changes https://patch-diff.githubusercontent.com/observing/pre-commit/pull/63/files/35737280ab3aad6f9cb9939313ef8c0a0357dab1#diff-e727e4bdf3657fd1d798edcd6b099d6e092f8573cba266154583a746bba0f346
index.jshttps://patch-diff.githubusercontent.com/observing/pre-commit/pull/63/files#diff-e727e4bdf3657fd1d798edcd6b099d6e092f8573cba266154583a746bba0f346
3rd-Edenhttps://patch-diff.githubusercontent.com/3rd-Eden
Feb 8, 2016https://patch-diff.githubusercontent.com/observing/pre-commit/pull/63#discussion_r52154362
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/observing/pre-commit/blob/master/index.js#L67-L71https://github.com/observing/pre-commit/blob/master/index.js#L67-L71
Please reload this pagehttps://patch-diff.githubusercontent.com/observing/pre-commit/pull/63
kevinoidhttps://patch-diff.githubusercontent.com/kevinoid
Feb 8, 2016https://patch-diff.githubusercontent.com/observing/pre-commit/pull/63#discussion_r52191137
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/observing/pre-commit/pull/63
https://patch-diff.githubusercontent.com/secondspass
secondspasshttps://patch-diff.githubusercontent.com/secondspass
Jul 24, 2018 https://patch-diff.githubusercontent.com/observing/pre-commit/pull/63#ref-issue-342738233
Deleted files are being restored to the working tree dwyl/elixir-pre-commit#32 https://patch-diff.githubusercontent.com/dwyl/elixir-pre-commit/issues/32
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fobserving%2Fpre-commit%2Fpull%2F63
Please reload this pagehttps://patch-diff.githubusercontent.com/observing/pre-commit/pull/63
https://patch-diff.githubusercontent.com/kevinoid
https://patch-diff.githubusercontent.com/3rd-Eden
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.