Git cloning without creating a Directory

Have you ever wanted to clone a repo but didn’t want to create a directory?

Here’s how you do it:

$ git clone .
  • Don’t forget that last . because that is what allows you to clone a repo without creating a folder.

Leave a Reply

Your email address will not be published. Required fields are marked *