aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/dev/contrib/revert.md
blob: 09665a7742f77758ff0dbd9eac65cb0a8d8c3d35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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