.git/
git clone --depth 1 <repository-url> <target-directory> rm -rf <target-directory>/.git
git archive
git archive --remote=<repository-url> HEAD | tar -x -C <target-directory>
git clone --depth 1 https://github.com/user/repo.git my-repo rm -rf my-repo/.git
→ my-repo/ now contains only the files, no Git metadata.
my-repo/
This is a shared conversation and may include unverified content that doesn't reflect Mistral AI's views. Login to resume chatting.
Vibe can make mistakes. Check answers. Learn more