@@ -256,31 +256,27 @@ To create and submit a change:
256
256
[print, sign and one of scan+email, fax or mail the form](http://code.google.com/legal/corporate-cla-v1.0.html).
257
257
258
258
259
- 2. Create a new branch off the master for your changes:
259
+ 2. Create and checkout a new branch off the master branch for your changes:
260
260
261
- git branch my-fix-branch
261
+ git checkout -b my-fix-branch master
262
262
263
- 3. Check out the branch:
263
+ 3. Create your patch, make sure to have plenty of tests (that pass).
264
264
265
- git checkout my-fix-branch
266
-
267
- 4. Create your patch, make sure to have plenty of tests (that pass).
268
-
269
- 5. Commit your changes and create a descriptive commit message (the commit message is used to generate release notes,
265
+ 4. Commit your changes and create a descriptive commit message (the commit message is used to generate release notes,
270
266
please check out our
271
267
[commit message conventions](https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/edit#)
272
268
and our commit message presubmit hook `validate-commit-msg.js`):
273
269
274
270
git commit -a
275
271
276
- 6 . Push your branch to Github:
272
+ 5 . Push your branch to Github:
277
273
278
274
git push origin my-fix-branch
279
275
280
- 7 . In Github, send a pull request to `angular:master`.
276
+ 6 . In Github, send a pull request to `angular:master`.
281
277
282
278
283
- 8 . When the patch is reviewed and merged, delete your branch and pull yours — and other — changes
279
+ 7 . When the patch is reviewed and merged, delete your branch and pull yours — and other — changes
284
280
from the main (upstream) repository:
285
281
286
282
1. To delete the branch in Github, run:
0 commit comments