Skip to content

Commit 9f3d3bb

Browse files
committed
changed branching instructions to include example output
1 parent 13646bd commit 9f3d3bb

File tree

1 file changed

+20
-6
lines changed

1 file changed

+20
-6
lines changed

views/index.twig

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,27 @@
7878
{{ dep_name }}. We're going to call our development deployment
7979
dev. So we create a branch called dev.
8080
</p>
81-
<pre class="prettyprint lang-bash">$ git branch dev
82-
# checkout the dev branch
83-
$ git checkout dev
84-
# now change the &lt;title&gt; in views/index.twig file to
81+
<pre class="prettyprint lang-bash">$ git branch dev</pre>
82+
<p>
83+
Next, switch to the dev branch. You don't want to make your
84+
changes in master.
85+
</p>
86+
<pre class="prettyprint lang-bash">$ git checkout dev
87+
Switched to branch 'dev'
88+
</pre>
89+
<p>
90+
Feturewise we change the &lt;title&gt; tag in views/index.twig.
91+
Awesome feature, I know.
92+
</p>
93+
<pre class="prettyprint lang-bash">
8594
&lt;title&gt;Development Deployment&lt;/title&gt;
86-
# and commit the change
87-
$ git commit -am "changed views/index.twig"
95+
</pre>
96+
<p>
97+
Finally, commit the change.
98+
</p>
99+
<pre class="prettyprint lang-bash">$ git commit -am "changed title"
100+
[dev 11ada20] changed views/index.twig
101+
1 files changed, 1 insertions(+), 1 deletions(-)
88102
</pre>
89103
<h3>Push the new branch</h3>
90104
<p>Before we can deploy the changes we need to push them first.</p>

0 commit comments

Comments
 (0)