aws-samples / aws-samples/amazon-bedrock-samples

Unable to clone rag-solutions repository

Open
#96 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
1.5k
Forks
734
Avg merge
1d 6h
Merged PRs (30d)
4

Description

Tried to clone rag-solutions using the following command:
git clone --depth 2 --filter=blob:none --no-checkout https://github.com/aws-samples/amazon-bedrock-samples && cd amazon-bedrock-samples && git checkout main rag-solutions/contextual-chatbot-using-knowledgebase

Getting the following error:
error: unable to read sha1 file of rag-solutions/contextual-chatbot-using-knowledgebase/README.md (84148615badfddcd8dd778b1c8485ae44dab54e1)
Unlink of file 'rag-solutions' failed. Should I try again? (y/n)

See below screenshot:
![clone_error](https://github.com/aws-samples/amazon-bedrock-samples/assets/4175745/26a50263-fc55-4ee4-9b84-eaa3c192702c)

Contributor guide

Open the contributing guide

Research direction

Run the exact shallow, filtered clone and checkout command from the issue, then inspect the reported rag-solutions/contextual-chatbot-using-knowledgebase/README.md path and its referenced object. Done means the repository clones without the SHA-1 error and the requested path can be checked out successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.