OLD | NEW |
1 How to submit a patch | 1 How to submit a patch |
2 ===================== | 2 ===================== |
3 | 3 |
4 | 4 |
5 Making changes | 5 Making changes |
6 -------------- | 6 -------------- |
7 | 7 |
8 First create a branch for your changes: | 8 First create a branch for your changes: |
9 | 9 |
10 ~~~~ | 10 ~~~~ |
11 $ git checkout --track origin/master -b my_feature master | 11 $ git checkout -b my_feature origin/master |
12 ~~~~ | 12 ~~~~ |
13 | 13 |
14 After making your changes, create a commit | 14 After making your changes, create a commit |
15 | 15 |
16 ~~~~ | 16 ~~~~ |
17 $ git add [file1] [file2] ... | 17 $ git add [file1] [file2] ... |
18 $ git commit | 18 $ git commit |
19 ~~~~ | 19 ~~~~ |
20 | 20 |
21 If your branch gets out of date, you will need to update it: | 21 If your branch gets out of date, you will need to update it: |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 | 206 |
207 git-cl will squash all your commits into a single one with the description you u
sed when you uploaded your change. | 207 git-cl will squash all your commits into a single one with the description you u
sed when you uploaded your change. |
208 | 208 |
209 ~~~~ | 209 ~~~~ |
210 git cl land | 210 git cl land |
211 ~~~~ | 211 ~~~~ |
212 or | 212 or |
213 ~~~~ | 213 ~~~~ |
214 git cl land -c 'Contributor Name <email@example.com>' | 214 git cl land -c 'Contributor Name <email@example.com>' |
215 ~~~~ | 215 ~~~~ |
OLD | NEW |