GIT: How to do a Git clone without the .git directory

How to do a Git clone without the .git directory (github.com)

// Clone the repo

git clone --depth=1 git://someserver/somerepo dirformynewrepo

// Remove the .git directory

rm -rf !$/.git 

Không có nhận xét nào:

api feed with published=false?

  Câu trả lời ngắn gọn là: CÓ . Trên thực tế, đây chính là cách chuẩn nhất để tạo các bài viết chưa hiển thị công khai (bao gồm Bản nháp, B...