Skip to content

Commit 816bd01

Browse files
authored
fix: 🐛 don't commit and add, leave that to the user (#124)
# Description We should realistically be leaving this to the user, if they want to do other things or use a different commit message. Closes #121 This PR needs a quick review. ## Checklist - [x] Ran `just run-all`
1 parent 909e821 commit 816bd01

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

copier.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,7 @@ _subdirectory: template
33
# Post-copy commands:
44
_tasks:
55
# Only run these commands when copying the template
6-
- command: "git init -b main"
7-
when: "{{ _copier_operation == 'copy' }}"
8-
- command: "uv add --dev pre-commit commitizen ruff typos"
9-
when: "{{ _copier_operation == 'copy' }}"
10-
- command: "uv add polars seedcase-sprout"
11-
when: "{{ _copier_operation == 'copy' }}"
12-
- command: "git add ."
13-
when: "{{ _copier_operation == 'copy' }}"
14-
- command: "git commit -m 'chore: :tada: setup a new data package from the template'"
6+
- command: "git init -b main && uv add --dev pre-commit commitizen ruff typos && uv add polars seedcase-sprout"
157
when: "{{ _copier_operation == 'copy' }}"
168

179
# Questions:

0 commit comments

Comments
 (0)