Checkout GIT repository into existing folder

Veröffentlicht von

I usually create my project first, tinker around and then at some point I want to use version control, like GIT. So I create the repository and want to check it out and merge it with my existing project folder.

This can be done with the following commands:

git init
git remote add origin PATH_TO_REPOSITORY
git fetch
git checkout -t origin/master

Kommentar hinterlassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert