Chromium Code Reviews| Index: site/dev/contrib/revert.md |
| diff --git a/site/dev/contrib/revert.md b/site/dev/contrib/revert.md |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..09665a7742f77758ff0dbd9eac65cb0a8d8c3d35 |
| --- /dev/null |
| +++ b/site/dev/contrib/revert.md |
| @@ -0,0 +1,18 @@ |
| +How to revert a CL |
| +================== |
| + |
| +Using one-click revert |
| +---------------------- |
| + * Find the codereview issue for the CL you want to revert. |
| + * Click the "revert" button. |
| + |
| +Using Git |
| +--------- |
| + * git checkout master |
| + * git svn fetch && git svn rebase && gclient sync |
| + * git checkout -t -b <branch_name> |
| + * git log |
| + * <Find the SHA1 of the commit you want to revert> |
| + * git revert <SHA1> |
| + * git cl upload |
| + * git cl land |