You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can adopt this template into an existing repo by running `copier copy` in much the same way as in a new project.
7
4
8
5
This will:
9
6
@@ -12,9 +9,40 @@ This will:
12
9
- Ask if you would like to overwrite conflicting files (always choose yes)
13
10
- Record the answers in the project so they can be used in later updates
14
11
15
-
## Conflicting Files
16
-
After choosing to overwrite the conflicting files, open your project in an editor and go through the changes and any merge conflicts ensure that you have the right files and contents.
12
+
:::{note}
13
+
Copier will *overwrite* files with the template files. Please check the changes using `git diff` and put back anything you would like to keep from the existing project files.
14
+
:::
15
+
16
+
## If you have a skeleton-based project
17
+
18
+
If you have a [python3-pip-skeleton](https://github.com/DiamondLightSource/python3-pip-skeleton) based project then it is best to adopt the `1.0.0` release of this template, then `copier update` to get to the latest. This is because `copier update` will try and merge file changes across renames done between releases, while `copier copy` cannot. This looks like:
Copier does not touch any already existing files that do not conflict with the ones in the template. Therefore, you may end up with files in your project you no longer need such as old github workflows. These would need to be manually deleted.
43
+
Copier does not touch any already existing files that do not conflict with the ones in the template. Therefore, you may end up with files in your project you no longer need such as old github workflows. These would need to be manually deleted.
20
44
:::
45
+
46
+
## Getting started with your new structure
47
+
48
+
You can now [](../how-to/dev-install), and then follow some of the other [](../how-to).
0 commit comments