opencode
opencode copied to clipboard
Github Install couldn't find git repository
Description
When trying to opencode github install, I get this error, even though the repo is initialized with git
┌ Install GitHub agent
│
■ Could not find git repository. Please run this command from a git repository.
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
This issue might be a duplicate of existing issues. Please check:
- #1361: "opencode github install" is failing with an error about needing to be run in a git repo while in a git repo
Feel free to ignore if this doesn't address your specific case.
What output do u have for git remote get-url origin?
should be fixed in next release by: https://github.com/sst/opencode/commit/3ac42e96326d93d50b681cbae3b92a2ad1841e8c