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

Getting "non-zero exit status 128" #670

Open
oneextrafact opened this issue May 28, 2022 · 1 comment
Open

Getting "non-zero exit status 128" #670

oneextrafact opened this issue May 28, 2022 · 1 comment

Comments

@oneextrafact
Copy link

Receiving the following error message any time I try to run a command using the knowledge_repo tool:

Exception encountered: Command '['git', 'rev-parse', 'HEAD']' returned non-zero exit status 128.

Generally whatever command I was trying to run will complete, so I'm not sure what it means. I'm using Python 3.8 on WSL2.

@huang06
Copy link

huang06 commented Nov 21, 2022

@oneextrafact
Create a Git repo first before running the knowledge commands. And you'll not encounter those Git issues.

git init
git add .
git commit -m 'init commit'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants