diff --git a/utils/text_copy.py b/utils/text_copy.py index b6715fff..bc55f99d 100644 --- a/utils/text_copy.py +++ b/utils/text_copy.py @@ -8,7 +8,8 @@ def git_command(new_branch_name: str) -> str: return ( f"\n\n## Test these changes locally\n\n" f"```\n" - f"git checkout -b {new_branch_name}\n" + f"git fetch origin\n" + f"git checkout {new_branch_name}\n" f"git pull origin {new_branch_name}\n" f"```" )