FlightGear Git on Windows: Difference between revisions

Jump to navigation Jump to search
Update: conversion of all 'master' branches to 'next'.
(→‎Obtaining data from Git: Switch to {{fgdata source}}.)
(Update: conversion of all 'master' branches to 'next'.)
Line 99: Line 99:
Next, do this command:
Next, do this command:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
git checkout -b master origin/master
git checkout -b next origin/next
</syntaxhighlight>
</syntaxhighlight>


Line 107: Line 107:
Now, pull from Git to update to the latest files using:
Now, pull from Git to update to the latest files using:
{{#tag:syntaxhighlight|
{{#tag:syntaxhighlight|
{{fgdata source|cmd=git pull|protocol=git|type=git|post=master|full=1}}
{{fgdata source|cmd=git pull|protocol=git|type=git|post=next|full=1}}
| lang = "sh"
| lang = "sh"
}}
}}
Line 127: Line 127:
Add the following command and press Enter.
Add the following command and press Enter.
{{#tag:syntaxhighlight|
{{#tag:syntaxhighlight|
{{fgdata source|cmd=git pull|opt=--depth=1|protocol=git|type=git|post=master|full=1}}
{{fgdata source|cmd=git pull|opt=--depth=1|protocol=git|type=git|post=next|full=1}}
| lang = "sh"
| lang = "sh"
}}
}}

Navigation menu