File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ the files in your existing project by using `rsync` or similar tools:
7171``` sh
7272cd /tmp
7373cookiecutter gh:frequenz-floss/frequenz-repo-config-python --directory=cookiecutter
74- rsync -r new-project/ /path/to/existing/project
74+ rsync -vr --exclude=.git/ new-project/ /path/to/existing/project
7575cd /path/to/existing/project
7676git diff
7777# Fix all the `TODO`s and cleanup the generated files
@@ -83,6 +83,9 @@ git commit -a
8383 The trailing slash in `new-project/` and the lack of it in
8484 `/path/to/existing/project` are meaningful to `rsync`.
8585
86+ Also make sure to **exclude** the `.git/` directory to avoid messing up
87+ with your local git repository.
88+
8689## Update an existing project
8790
8891To update an existing project you can use the [ Cookiecutter * replay
You can’t perform that action at this time.
0 commit comments