unable to clone the git repository https://github.com/aws-samples/amazon-bedrock-samples.git
Unable to clone the git repository :$ git clone https://github.com/aws-samples/amazon-bedrock-samples.git Cloning into 'amazon-bedrock-samples'... remote: Enumerating objects: 12628, done. remote: Counting objects: 100% (1306/1306), done. remote: Compressing objects: 100% (679/679), done. remote: Total 12628 (delta 584), reused 1130 (delta 491), pack-reused 11322 (from 1) Receiving objects: 100% (12628/12628), 850.56 MiB | 17.11 MiB/s, done. Resolving deltas: 100% (6487/6487), done. error: unable to create file agents-and-function-calling/bedrock-agents/features-examples/11-create-agents-with-action-user-confirmation/11.1-create-agent-with-function-definition-and-user-confirmation/11.1-create-agent-with-function-definition-and-user-confirmation.ipynb: Filename too long fatal: cannot create directory at 'agents-and-function-calling/bedrock-agents/features-examples/11-create-agents-with-action-user-confirmation/11.2-create-agent-with-function-definition-roc-and-user-confirmation': Filename too long warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status' and retry with 'git restore --source=HEAD :/'
We should shorten that filename, but FYI as a workaround: https://stackoverflow.com/questions/52699177/how-to-fix-filename-too-long-error-during-git-clone