This could become usefull when updating mangos using git (on windows):
@echo off
cd "Mangos"
echo =============== Updating Mangos ===============
start /B /WAIT cmd /C git pull git://github.com/mangos/mangos.git master
echo Writing changelog.
start /B /WAIT cmd /C git log>..\\changelog.log
echo Done
echo.
pause
It's just a simple batch file.
When you have cloned Mangos with git to c:\\servers\\Mangos then you should create a file mangos_update.bat in c:\\servers containing the text above.
Now you just need to execute mangos_update.bat and it will update automaticaly.
Make sure you have selected "Run Git from the Windows Command Prompt" when installing git.
Note: the cmd command within a start command is just my workaround so cmd closes after it got finnished, for some reason cmd stays open when calling git directly.