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 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.