How to delete or change directory of a cloned git repository on a local computer

Used git clone [url] to clone an open source project but it cloned to the

C:\Documents and Setings\$USER\project

What I wanted to do is clone the project to C:\project. I don't want to have duplicate project clones on my local machine.

How do I go about moving it to that location or deleting the existing repository(hopefully that's a correct term) and cloning it again?

I assume after deleting I should use something like the following to clone it to the desired location?

$ git clone [url] C:\project

51
задан PaulG 20 February 2019 в 05:23
поделиться