Difference between revisions of "Git for Windows"

From MythTV Official Wiki
Jump to: navigation, search
(Installing Git on Windows)
(Installing Git on Windows)
 
Line 10: Line 10:
 
== Installing Git on Windows ==  
 
== Installing Git on Windows ==  
  
:This guide used version 1.8.3 of Git downloaded from:
+
This guide used version 1.8.3 of Git downloaded from:
  
::http://git-scm.com/downloads
+
:http://git-scm.com/downloads
  
:Use default values for all screen except the following:
+
Use default values for all screen except the following:
  
:When on "Adjusting your PATH environment" page, make sure to choose <b>"Run Git from the Windows Command Prompt"</b>
+
When on "Adjusting your PATH environment" page, make sure to choose <b>"Run Git from the Windows Command Prompt"</b>
  
:[[File:GitOnWindows-Setup-Path.png]]
+
[[File:GitOnWindows-Setup-Path.png]]
  
 
<hr>
 
<hr>
:When asked about line endings... make sure to select <b>"Checkout as-is, commit as-is"</b>.
+
When asked about line endings... make sure to select <b>"Checkout as-is, commit as-is"</b>.
  
:[[File:GitOnWindows-Setup-LineEndings.png]]
+
[[File:GitOnWindows-Setup-LineEndings.png]]
  
 
{{Warning box|FFmpeg will not compile if checked out with windows-style line endings}}
 
{{Warning box|FFmpeg will not compile if checked out with windows-style line endings}}

Latest revision as of 17:41, 9 September 2013

Summary

In order to pull down MythTV source code and to automate the generation of a version file, you need to have Git for Windows installed.

Here are a few details to note:

  • Need to configure to run from the Windows Command Prompt
  • Must not change line endings "Checout as-is, commit as-is"

All other options can be left with defaults.

Installing Git on Windows

This guide used version 1.8.3 of Git downloaded from:

http://git-scm.com/downloads

Use default values for all screen except the following:

When on "Adjusting your PATH environment" page, make sure to choose "Run Git from the Windows Command Prompt"

GitOnWindows-Setup-Path.png


When asked about line endings... make sure to select "Checkout as-is, commit as-is".

GitOnWindows-Setup-LineEndings.png

Warning.png Warning: FFmpeg will not compile if checked out with windows-style line endings