We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
.git
1 parent e79be2b commit 1e754b5Copy full SHA for 1e754b5
βsrc/fastapi_cloud_cli/commands/deploy.pyβ
@@ -51,6 +51,7 @@ def _should_exclude_entry(path: Path) -> bool:
51
"__pycache__",
52
".mypy_cache",
53
".pytest_cache",
54
+ ".git",
55
".gitignore",
56
".fastapicloudignore",
57
]
βtests/test_archive.pyβ
@@ -125,6 +125,7 @@ def test_archive_respects_fastapicloudignore_unignore(
125
126
# Rignore needs a .git folder to make .gitignore work
127
(src_path / ".git").mkdir(exist_ok=True, parents=True)
128
+ (src_path / ".git" / "config").write_text("[core]\n\trepositoryformatversion = 0")
129
(src_path / ".gitignore").write_text("ignore_me.txt\nbuild/")
130
131
(src_path / ".fastapicloudignore").write_text("!static/build")
0 commit comments