devtools-version-control
Installation
SKILL.md
DevTools Version Control
[!IMPORTANT] DO NOT use standard Git commands like
git checkout -borgit switch -cto create branches. In Chrome DevTools, you MUST always usegit new-branch <branch-name>(orgit new-branch --upstream_current <branch-name>for stacked CLs). Standard commands fail to configure the correct upstream tracking branch required bydepot_toolsand Gerrit.
Overview
Chrome DevTools uses Gerrit for code review. The standard workflow is one branch per Change List (CL) and one commit per branch. Instead of multiple commits, you amend your single commit locally.
Core Workflow
Creating a New CL
To start a new task, create a new branch from main:
git new-branch <branch-name>
Note: This automatically sets the upstream to origin/main.