go to the directory where you want to clone the repo.
(don't rungit init
command inside that directory)simply run the command,
git clone <git repo url> .
Example: git clone https://github.com/Rashmi-Wijesekara/portfolio.git .
go to the directory where you want to clone the repo.
(don't run git init
command inside that directory)
simply run the command,git clone <git repo url> .
Example: git clone https://github.com/Rashmi-Wijesekara/portfolio.git .