Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stuck on 'waiting: fetching remotes' #967

Open
gabr1elt opened this issue Mar 5, 2025 · 1 comment
Open

stuck on 'waiting: fetching remotes' #967

gabr1elt opened this issue Mar 5, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@gabr1elt
Copy link

gabr1elt commented Mar 5, 2025

🔧 Summary

issue with remotes. stuck on 'waiting: fetching remotes'

Lefthook version

1.11.2 eeffc47

Steps to reproduce

add remotes config to my .yaml file
lefthook install -v

Expected results

clone the repo and install the hooks

Actual results

stuck on 'waiting: fetching remotes'

Possible Solution

lefthook seems to start the cloning process as I can see the beginnings of the cloned repo at .git/info/lefthook-remotes (.git folder only)
but it seem its it gets stuck after that (nothing is being downloaded)

Logs / Screenshots

│ [lefthook] cmd:    [git version]
│ [lefthook] stdout: git version 2.34.1
                                     
│ [lefthook] cmd:    [git rev-parse --path-format=absolute --show-toplevel --git-path hooks --git-path info --git-dir]
│ [lefthook] stdout: /root/Development
/root/Development/.git/hooks        
/root/Development/.git/info         
/root/Development/.git              
                                    
│ Searching config in:/root/Development
│ Merging remote config: https://github.com/gabr1elt/system: /root/Development/.git/info/lefthook-remotes/system-dev/.lefthook.yaml
│ Cloning remote config repository: /root/Development/.git/info/lefthook-remotes/system-dev
│ [lefthook] cmd:    [git -C /root/Development/.git/info/lefthook-remotes clone --quiet --origin origin --depth 1 --branch dev https://github.com/gabr1elt/system system-dev]
│ [lefthook] dir:    /root/Development
⠦ waiting: fetching remotes^Z
[1]+  Stopped                 lefthook install -v
@gabr1elt gabr1elt added the bug Something isn't working label Mar 5, 2025
@mrexox
Copy link
Member

mrexox commented Mar 6, 2025

Hello! Could you share you config so I could reproduce this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants