Ask your Question

PEOPLE YOU MIGHT KNOW

Ashish
Ashish

CO-FOUNDER

Hayward,  United States
Simran
Simran

New delhi,  India
yash
yash

hello

surat,  India
Purpletree
Purpletree

Magento and Opencart Extension

Noida,  India
Brand
Brand

Top Digital Marketing Company In Delhi NCR

Gurgaon,  India

Write to us

Ask Question

How to clone a project from git without project folder

Himanshi Saini

There are two options to do the same

1. If there is no (.) dot  directory in the current folder then we can simply put (.) dot at the end 

git clone https://github.com/letsknowit/projectrepo.git .

2. We can also  setup a new repo and then the tracking remote and branch

git init .
git remote add origin https://github.com/letsknowit/projectrepo.git
git fetch origin
git checkout master

Himanshi Saini

Please rotate your device

We don't support landscape mode on your device. Please rotate to portrait mode for the best view of our site