mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 06:15:00 +00:00
Updated initial commit message to list added files.
# Context: USER: change the "Initial commit" message to list the files being added ASSISTANT: ```python coder.py <<<<<<< ORIGINAL commit_message = "Initial commit: Added new files to the git repo." ======= commit_message = f"Initial commit: Added new files to the git repo: {', '.join(new_files)}" >>>>>>> UPDATED ```
This commit is contained in:
parent
e2c2f0c2b9
commit
6220dc56bf
1 changed files with 1 additions and 1 deletions
2
coder.py
2
coder.py
|
@ -94,7 +94,7 @@ class Coder:
|
|||
self.console.print(
|
||||
f"[red bold]Added {relative_fname} to the git repo"
|
||||
)
|
||||
commit_message = "Initial commit: Added new files to the git repo."
|
||||
commit_message = f"Initial commit: Added new files to the git repo: {', '.join(new_files)}"
|
||||
repo.git.commit("-m", commit_message, "--no-verify")
|
||||
self.console.print(
|
||||
f"[green bold]Committed new files with message: {commit_message}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue