Skip to content

Commit

Permalink
Improve git commands on PR for users
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroshinishio committed Dec 21, 2024
1 parent 9f82797 commit 3407e2b
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 3407e2b

Please sign in to comment.