Skip to content
Snippets Groups Projects
Commit 8479e963 authored by mjbonifa's avatar mjbonifa
Browse files

Merge branch '39-fix-phen-repo-gitignore-does-not-include-db-files' into 'dev'

fix: error writing .gitignore with spaces before *.db and other lines. Closes #39

Closes #39

See merge request meldb/concepts-processing!16
parents 01b7bc43 7221405d
No related branches found
No related tags found
No related merge requests found
...@@ -263,12 +263,12 @@ def init(phen_dir, remote_url): ...@@ -263,12 +263,12 @@ def init(phen_dir, remote_url):
# add git ignore # add git ignore
ignore_content = """# Ignore SQLite database files ignore_content = """# Ignore SQLite database files
*.db *.db
*.sqlite3 *.sqlite3
# Ignore SQLite journal and metadata files # Ignore SQLite journal and metadata files
*.db-journal *.db-journal
*.sqlite3-journal *.sqlite3-journal
""" """
ignore_path = phen_path / ".gitignore" ignore_path = phen_path / ".gitignore"
with open(ignore_path, "w") as file: with open(ignore_path, "w") as file:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment