Skip to content

Instantly share code, notes, and snippets.

View Moonbird-IT's full-sized avatar
🎯
Catching up pending

Sascha Meyer Moonbird-IT

🎯
Catching up pending
  • Just for fun
  • Wegberg, Germany
  • 13:10 (UTC +02:00)
View GitHub Profile
@ZeroDragon
ZeroDragon / How to clone a git repo to an existing folder (not empty).md
Last active April 21, 2024 02:41
How to clone a git repo to an existing folder (not empty)
  1. First get to the existing directory
    $ cd my/folder/

  2. Now start a new git repository
    $ git init

  3. Identify if the current elements on the directory are needed or not and add them to the .gitignore file. When ready...
    $ vim .gitignore

  4. When ready create the first commit on the server