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
  • 06:43 (UTC +01:00)
View GitHub Profile
@ZeroDragon
ZeroDragon / How to clone a git repo to an existing folder (not empty).md
Last active October 24, 2024 13:50
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