Skip to content

Commit

Permalink
Merge pull request #414 from gitautoai/wes
Browse files Browse the repository at this point in the history
Improve git commands on PR for users
  • Loading branch information
hiroshinishio authored Dec 21, 2024
2 parents dd44d12 + 3407e2b commit 5c79993
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/text_copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"```"
)
Expand Down

0 comments on commit 5c79993

Please sign in to comment.