'vagrant-Git repository
I'm using vagrant to clone my git repository. I deleted my repository from GitHub my git account. now trying to clone a repository couldn't error message is destination path already exist. how do I delete this already existing path and start afresh?
Solution 1:[1]
Similar to this answer, you can:
- test if a folder exist (
File.directory?(directory)) - delete it, using
FileUtils.rmdir(disks_directory)(as used in this Vagrant script)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | VonC |
