Git hub でcloneしようとすると「fatal: destination path ' ' already exists and is not an empty directory.」際の対応方法


% git clone [email protected]:ochun0116/saku202010.git

でcloneしようとしたところ、
fatal: destination path 'saku202010' already exists and is not an empty directory.

と表記が出てしまいました。
「cloneするときは空っぽのフォルダにしてくれ!」

ってことらしく、対応はチェンジディレクトリして、そのフォルダがあるところでやるらしいです。

すなわち

% cd ../
% rm -fr saku202010
% git clone [email protected]:ochun0116/saku202010.git

です。

できました!