<p>Michael Bacarella has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/c/coreboot/+/30054">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Documentation/lessons/lesson2.md: fix the git push command<br><br>The current git push will fail because it tries to push to<br>master directly.  Also provide a blurb explaining how to<br>make better use of Gerrit.<br><br>Signed-off-by: Michael Bacarella <michael.bacarella@gmail.com><br>Change-Id: I5a7e58600bb1527c3e407921f7984bf94bff8d58<br>---<br>M Documentation/lessons/lesson2.md<br>1 file changed, 10 insertions(+), 5 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/30054/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/Documentation/lessons/lesson2.md b/Documentation/lessons/lesson2.md</span><br><span>index a95dd80..052599d 100644</span><br><span>--- a/Documentation/lessons/lesson2.md</span><br><span>+++ b/Documentation/lessons/lesson2.md</span><br><span>@@ -143,11 +143,16 @@</span><br><span> commit, you wish to make changes to it, running "git commit --amend" allows</span><br><span> you to take back your commit and amend it.</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-When you are done with your commit, run 'git push' to push your commit to</span><br><span style="color: hsl(0, 100%, 40%);">-coreboot.org. **Note:** To submit as a draft, use</span><br><span style="color: hsl(0, 100%, 40%);">-'git push origin HEAD:refs/drafts/master' Submitting as a draft means that</span><br><span style="color: hsl(0, 100%, 40%);">-your commit will be on coreboot.org, but is only visible to those you add</span><br><span style="color: hsl(0, 100%, 40%);">-as reviewers.</span><br><span style="color: hsl(120, 100%, 40%);">+When you are done with your commit, run 'git push HEAD:refs/for/master' to push</span><br><span style="color: hsl(120, 100%, 40%);">+your commit to coreboot.org. **Note:** To submit as a draft, use 'git push</span><br><span style="color: hsl(120, 100%, 40%);">+origin HEAD:refs/drafts/master' Submitting as a draft means that your commit</span><br><span style="color: hsl(120, 100%, 40%);">+will be on coreboot.org, but is only visible to those you add as reviewers.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+This has been a quick primer on how to submit a change to Gerrit for review</span><br><span style="color: hsl(120, 100%, 40%);">+using git.  You may wish to review the Gerrit code review workflow</span><br><span style="color: hsl(120, 100%, 40%);">+documentation, especially if you plan to work on multiple changes at the same</span><br><span style="color: hsl(120, 100%, 40%);">+time.  See</span><br><span style="color: hsl(120, 100%, 40%);">+https://gerrit-review.googlesource.com/Documentation/intro-user.html#code-review</span><br><span> </span><br><span> ## Part 4b: Using git cola to stage and submit a commit</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/c/coreboot/+/30054">change 30054</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/c/coreboot/+/30054"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I5a7e58600bb1527c3e407921f7984bf94bff8d58 </div>
<div style="display:none"> Gerrit-Change-Number: 30054 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Michael Bacarella <michael.bacarella@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>