Msysgit

From relax wiki
Jump to navigation Jump to search

Install

Find newest version from their webpage.

In the window Select components, un-check all options.
Check on Associate .git*... and Associate .sh ...
Set Use Git Bash only.
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