Skip to content

Pre-commit Hook Hanging #22701

Closed
Closed

Description

@collegeboard-mscott

The problem

Attempting to use pre-commit hook in Github Desktop. Github Desktop says it is running the pre-commit hook. Never seems to complete. Message reads: 'Running pre-commit hook...'

Release version

3.6.3

Operating system

Windows 11

Steps to reproduce the behavior

With hooks enabled:

  1. Type a title for the commit
  2. Click 'Commit'
  3. At the bottom of the window, it says pre-commit hook running
  4. Click 'check pre-commit status' (?)
  5. Console dialog opens with the message: "Pre-commit hook running..."
    Never completes and no additional messages.

Log files

No response

Screenshots

No response

Additional context

No response

Activity

  1. desktop-triage commented on Aug 11, 2026

    @desktop-triage

    Classifying this as a bug (priority-2): the reporter provides version (3.6.3), OS (Windows 11), and clear steps showing the pre-commit hook starts but never finishes or produces further output, blocking commits via the UI. No exact duplicate was found — #15631 ("commit takes several minutes") is closed and describes a different symptom, and #15286 was an enhancement to surface hook console output. Including log files and any hook script details (e.g., what the pre-commit hook does) would help narrow down whether this is a Desktop process-management issue or a hook-specific behavior.

    Generated by Issue Triage (skills-driven) for #22701 · sonnet46 21.5 AIC · ⌖ 5.24 AIC · ⊞ 5.7K · ◷

  2. added
    more-info-needed
    on Aug 12, 2026
  3. github-actions commented on Aug 12, 2026

    @github-actions
    Contributor

    Thank you for your issue! Unfortunately, we are unable to reproduce the issue you are experiencing. Please provide more information so we can help you.

    Here are some tips for writing reproduction steps:

    • Step by step instructions accompanied by screenshots or screencasts are the best.
    • Be as specific as possible; include as much detail as you can.
    • If not already provided, include:
      • the version of the application you are using.
      • the operating system you are using
      • any environment factors you can think of.
      • any custom configuration you are using.
      • a log file from the day you experienced the issue (access log files via Help > Show Logs in Finder/Explorer).
    • If relevant and can be shared, provide the repository or code you are using.
  4. tidy-dev commented on Aug 12, 2026

    @tidy-dev
    Contributor

    Could you run the hook directly from the repository in Git Bash?

    git hook run pre-commit

    If it also hangs or asks for a prompt there, the problem is in the hook rather than GitHub Desktop.

  5. github-actions commented on Aug 26, 2026

    @github-actions
    Contributor

    Thank you for your issue!
    We haven't gotten a response to our questions above. With only the information that is currently in the issue, we don't have enough information to take action. We're going to close this but don't hesitate to reach out if you have or find the answers we need. If you answer our questions above, this issue will automatically reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    more-info-neededneeds-triageunable-to-reproduce

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions