initial commit: greet demo

This commit is contained in:
2026-04-28 22:15:06 +08:00
commit 1545426f83
3 changed files with 18 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
__pycache__/
*.pyc
.venv/
.DS_Store

8
README.md Normal file
View File

@@ -0,0 +1,8 @@
# treeTest
Git worktree 演示仓库。
## 用途
展示如何用 `git worktree` 在一个仓库里同时工作于多个分支,
互不干扰,适合并行开发 / 紧急 bugfix / 试验性重构等场景。

6
app.py Normal file
View File

@@ -0,0 +1,6 @@
def greet(name: str) -> str:
return f"Hello, {name}!"
if __name__ == "__main__":
print(greet("world"))