Menu

Showing posts with label Git clone. Show all posts
Showing posts with label Git clone. Show all posts

How to clone a git repo with a new name

We can clone any Git repo with new name by specifying folder or directory name while doing the clone. 

The command will look like this.


Command to clone a Git repo with a new name

    git clone <repourl> <folder name>

After the git base url specify the folder or directory name. It will create a new folder with that name and clone into that.