Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 3
Message 1 of 2

Clone Repository

Solved! Go to Solution.

Hi All,

 

I have successfully cloned one repository using 'git clone <repo_url>'.

 

When i was tring to clone the same repo again, geting below error message :

fatal : destination path <repo_name> already exists and is not an empty directory.

 

Now my question is, do i need to remove the local repository (directory) before cloning that same repo once again?

 

Thanks with Regards,

JD

1 Reply
Solution
Commander Lvl 2
Message 2 of 2

Re: Clone Repository

Hi @Jayantadeb73

You could use:
git clone <url-link> <name-repo>

With this you can rename the cloned repository with new name.

Hope this help

-Gabriele-

 

Mark helpfull posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great contents!