Difference between revisions of "Msysgit"

From relax wiki
Jump to navigation Jump to search
(Created page with "== Install == Find newest version [http://msysgit.github.io/ from their webpage]. In the window '''Select components''', un-check all options.<br> In the Installation_wind...")
 
(→‎See also: Category fix.)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__TOC__
 +
 
== Install ==
 
== Install ==
 
Find newest version [http://msysgit.github.io/ from their webpage].
 
Find newest version [http://msysgit.github.io/ from their webpage].
  
 +
We follow [https://help.github.com/articles/set-up-git the github guide on msysgit for setup.]
 
In the window '''Select components''', un-check all options.<br>
 
In the window '''Select components''', un-check all options.<br>
 +
Check on '''Associate .git*...''' and '''Associate .sh ...'''<br>
 +
Set '''Use Git Bash only'''.<br>
 +
Use OpenSSH<br>
 +
Set '''Checkout as-is, commit Unix-style'''. The line endings should be dealt with, by a proper python/text editor.
  
 
In the [[Installation_windows_Python_x86-32_Visual_Studio_Express_for_Windows_Desktop|pyt32.bat]] file, add
 
In the [[Installation_windows_Python_x86-32_Visual_Studio_Express_for_Windows_Desktop|pyt32.bat]] file, add
Line 9: Line 16:
 
set PATH=%PATH%;C:\Program Files (x86)\Git\bin
 
set PATH=%PATH%;C:\Program Files (x86)\Git\bin
 
</source>
 
</source>
 +
 +
== Test installation ==
 +
Test installation, by clicking '''C:\WinPython27\WinPython-32bit-xxx\scripts\own\cmdpyt32.bat''', and write
 +
<source lang="powershell">
 +
git --version
 +
gitk
 +
</source>
 +
 +
If you have added '''pyt32.bat''' to your [[Installation_windows_Python_x86-32_Visual_Studio_Express_for_Windows_Desktop#Trick_to_add_.bat_files_to_PATH | PATH]], then in any folder, hold "Shift" and right click, "Open command window here". Write:
 +
<source lang="powershell">
 +
pyt32
 +
git --version
 +
gitk
 +
</source>
 +
 +
== See also ==
 +
[[Category:git]]
 +
[[Category:Software]]

Latest revision as of 16:56, 6 November 2015

Install

Find newest version from their webpage.

We follow the github guide on msysgit for setup. In the window Select components, un-check all options.
Check on Associate .git*... and Associate .sh ...
Set Use Git Bash only.
Use OpenSSH
Set Checkout as-is, commit Unix-style. The line endings should be dealt with, by a proper python/text editor.

In the pyt32.bat file, add

set PATH=%PATH%;C:\Program Files (x86)\Git\cmd
set PATH=%PATH%;C:\Program Files (x86)\Git\bin

Test installation

Test installation, by clicking C:\WinPython27\WinPython-32bit-xxx\scripts\own\cmdpyt32.bat, and write

git --version
gitk

If you have added pyt32.bat to your PATH, then in any folder, hold "Shift" and right click, "Open command window here". Write:

pyt32
git --version
gitk

See also