File tree Expand file tree Collapse file tree 1 file changed +20
-6
lines changed
Expand file tree Collapse file tree 1 file changed +20
-6
lines changed Original file line number Diff line number Diff line change 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 < title> 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 < title> tag in views/index.twig.
91+ Awesome feature, I know.
92+ </p >
93+ <pre class =" prettyprint lang-bash" >
8594< title> Development Deployment< /title>
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 >
You can’t perform that action at this time.
0 commit comments