| OLD | NEW |
| 1 How to revert a CL | 1 How to revert a CL |
| 2 ================== | 2 ================== |
| 3 | 3 |
| 4 Using one-click revert | 4 Using one-click revert |
| 5 ---------------------- | 5 ---------------------- |
| 6 * Find the codereview issue for the CL you want to revert. | 6 * Find the codereview issue for the CL you want to revert. |
| 7 * Click the "revert" button. | 7 * Click the "revert" button. |
| 8 | 8 |
| 9 Using Git | 9 Using Git |
| 10 --------- | 10 --------- |
| 11 * git checkout master | 11 * git checkout master |
| 12 * git svn fetch && git svn rebase && gclient sync | 12 * git pull --rebase && gclient sync |
| 13 * git checkout -t -b <branch_name> | 13 * git checkout -b <branch_name> origin/master |
| 14 * git log | 14 * git log |
| 15 * <Find the SHA1 of the commit you want to revert> | 15 * <Find the SHA1 of the commit you want to revert> |
| 16 * git revert <SHA1> | 16 * git revert <SHA1> |
| 17 * git cl upload | 17 * git cl upload |
| 18 * git cl land | 18 * git cl land |
| OLD | NEW |