destination path already exists and is not an empty directory

  • 15,000
  • Tác giả: admin
  • Ngày đăng:
  • Lượt xem: 15
  • Tình trạng: Còn hàng

Explanation

This is pretty vague but I'll bởi what I can lớn help.

First, while it may seem daunting at first, I suggest you learn how lớn bởi things from the command line (called terminal on OSX). This is a great way lớn make sure you're putting things where you really want lớn.

You should definitely google 'unix commands' lớn learn more, but here are a few important commands lớn help in this situation:

ls - list all files and directories (folders) in current directory

cd - change directory, or change the thư mục you're looking in

mkdir - Makes a new directory (be careful, you will have lớn cd into the directory after you make it)

rm -r - Removes a directory and everything inside it

git clone - Clones the repository into the directory you are currently browsing.

Answer

So, on my computer, I would run rẩy the following commands lớn create a directory (folder) called projects within my documents thư mục and clone a repo there.

  1. Open terminal
  2. cd documents (Not case sensitive on mac)
  3. mkdir projects
  4. cd projects
  5. git clone https://github.com/seanbecker15/wherecanifindit.git
  6. cd wherecanifindit (if I want lớn go into the directory)

p.s. wherecanifindit is just the name of my git repository, not a command!