Skip to content

Instantly share code, notes, and snippets.

View Moonbird-IT's full-sized avatar
🎯
React knowledge - loading in progress

Sascha Meyer Moonbird-IT

🎯
React knowledge - loading in progress
  • SIG Combibloc Systems
  • Wegberg, Germany
  • 02:57 (UTC +01:00)
View GitHub Profile
@ZeroDragon
ZeroDragon / How to clone a git repo to an existing folder (not empty).md
Last active January 20, 2025 16:26
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