원클릭으로
checkout-webkit-commit
// Use when the user wants to checkout a branch, checkout a PR, checkout a commit or move HEAD to a specific commit in the WebKit repository. The user can specify a pull requests by number or URL.
// Use when the user wants to checkout a branch, checkout a PR, checkout a commit or move HEAD to a specific commit in the WebKit repository. The user can specify a pull requests by number or URL.
| name | checkout-webkit-commit |
| description | Use when the user wants to checkout a branch, checkout a PR, checkout a commit or move HEAD to a specific commit in the WebKit repository. The user can specify a pull requests by number or URL. |
| user-invocable | true |
| allowed-tools | Bash(git-webkit checkout:*), Bash(git webkit checkout:*), Bash(Tools/Scripts/git-webkit checkout:*), Bash(git-webkit find:*), Bash(git webkit find:*), Bash(Tools/Scripts/git-webkit find:*), Bash(git checkout:*), |
Use git-webkit checkout instead of git checkout to check out branches, commits, or pull requests when the string provided does not match a hash, branch or tag in the repository.
git-webkit checkout <branch-or-ref>
git-webkit checkout pr-<number>
When the user provides a PR URL (e.g., https://github.com/<org>/<repo>/pull/<number>), extract the remote and PR number, then use --remote:
git-webkit checkout pr-<number> --remote <remote>
If git-webkit is not in PATH, use Tools/Scripts/git-webkit instead (relative to the repository root).
git-webkit checkout instead of git checkout or git switch in the WebKit repository.--remote.git-webkit find before presenting them to the user. Always display identifiers in backticks (e.g., 285301@main).git-webkit or Tools/Scripts/git-webkit with python3. The script is directly executable.Use when the user wants to remove unused
Use when the user wants to classify a commit or understand what kind of change a commit represents in the WebKit repository.
Auto-invoke (1) to convert git commit hashes to WebKit identifiers (NNNNNN@main) and (2) to convert identifiers to commit hashes using git-webkit. Use whenever a commit hash appears in a tool result that will be shared with the user in the WebKit repository.
Use when the user wants to update, pull, or sync their WebKit repository or branch.