gleich / fgh

📁 Automate the lifecycle and organization of your cloned GitHub repositories
MIT License
142 stars 17 forks source link

Allow non-github git repositories in folders #42

Open cole-wilson opened 3 years ago

cole-wilson commented 3 years ago

Description

If I create a git repo in a folder managed by fgh and it isn't on github, (i.e. i run git init in an empty folder), features like fgh visualize break.

Steps to reproduce

Create an empty git repo using git init in a folder managed by fgh. Run fgh visualize

Logs/Screenshots

 6.67% ║█▓░░░░░░░░░░░░░░░░░░░░░░░░░░║ [3 in 90.666ms] ... Getting information for repositories
░░░░░░░░░░░
░✗ ERROR ✗░
░░░░░░░░░░░

Failed to check if repo has any commits not pushed. Location: /Users/cole/projects/cole-wilson/AppTest

GOLANG ERROR (SHOW DEVELOPER):
exit status 129
gleich commented 3 years ago

I can push a fix for this sometime this weekend. Thanks for letting me know cole!

cole-wilson commented 3 years ago

Thanks! I love fgh by the way.

gleich commented 3 years ago

Yay! Glad to hear it :)