airbnb / knowledge-repo

A next-generation curated knowledge sharing platform for data scientists and other technical professions.

Repository from Github https://github.comairbnb/knowledge-repoRepository from Github https://github.comairbnb/knowledge-repo

Getting "non-zero exit status 128"

oneextrafact opened this issue · comments

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.

@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'