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:

Check to be sure that port 22 is enabled before you reload

 https://superuser.com/questions/590600/ufw-is-active-but-not-enabled-why etting  ENABLED=yes  in  /etc/ufw/ufw.conf  did it for me. $ sudo ...