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:

anti-pattern là gì

  Trong công nghệ và lập trình, Anti-pattern (mẫu phản diện) là những giải pháp bề ngoài có vẻ hiệu quả để giải quyết một vấn đề phổ biến, ...