diff --git a/personal_mnemonic_medium/subtasks/graphite.py b/personal_mnemonic_medium/subtasks/graphite.py index 51e07215..8cd9c610 100644 --- a/personal_mnemonic_medium/subtasks/graphite.py +++ b/personal_mnemonic_medium/subtasks/graphite.py @@ -14,5 +14,6 @@ def create_branch_from_issue(c: inv.Context, selected_issue: GithubIssue): sanitised_title = sanitise_issue_title(selected_issue.title) branch_title = f"{selected_issue.number}-{sanitised_title}" c.run(f"gt create {branch_title}") - c.run(f"git commit --allow-empty -m '{selected_issue.title}'") - c.run(f"git commit --allow-empty -m 'Fixes #{selected_issue.number}'") + c.run( + f"git commit --allow-empty -m '{selected_issue.title}. Fixes #{selected_issue.number}'" + )