Skip to content

Commit 5bfdd97

Browse files
committed
```
feat: Add git add all to auto_commit.py ```
1 parent 1cb9ff4 commit 5bfdd97

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

auto_commit.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
"""
2121

2222
def get_changed_files():
23+
# Git add all
24+
subprocess.run(
25+
["git", "add", "."],
26+
capture_output=True, text=True
27+
)
2328
# Get all staged and unstaged files (excluding untracked)
2429
result = subprocess.run(
2530
["git", "diff", "--name-only"],

0 commit comments

Comments
 (0)