Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(450)

Side by Side Diff: site/dev/contrib/submit.md

Issue 1057513004: contrib: Simplify the command to create a feature branch. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 ~~~~
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698