How to clone a project from git without project folder

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 .

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

git init .
git remote add origin
git fetch origin
git checkout master

0   0
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