git windows post pull
I have recently converted from svn. My server is under Windows (don't blame me, it wasn't my choice :} I have created a repo with two branches "master" and "stable". On my server I want to get files from stable branch. I have done: git clone git://url/.git src cd src git checkout --track -b stable origin/stable Previously I had a .bat script cd my_repo_dir svn update echo APPLICATION_STAGE = 'production' > conf\__init__.py net stop apache2.2 net start apache2.2 and it worked, now with git cd my_repo_dir git pull echo APPLICATION_STAGE = 'production' > conf\__init__.py net stop apache2.2 net