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
できました!
Author And Source
この問題について(Git hub でcloneしようとすると「fatal: destination path ' ' already exists and is not an empty directory.」際の対応方法), 我々は、より多くの情報をここで見つけました https://qiita.com/ochun/items/163abb37339458b3b3db著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .