Git on live Windows Server - Trying to pull from the repo but local files already modified

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-06-09T22:26:05Z Indexed on 2010/06/09 22:32 UTC
Read the original article Hit count: 134

Filed under:
|
|

I have my Git repository hosted at github.com. I would like to push updates and such to github.com and then log into my Windows server and do a git pull to get my changes (that are verified to work on my local machine. Ideally I should have another server setup as my local machine settings are different from the live server. But I'm cheap.).

It seems like whenever I try to do a git pull on the server, the files seem to get modified somehow since the last pull. And so I am unable to get the update as git says I need to commit my local (Windows server) changes.

How can I use git like I want to? Or is there a better way?

© Stack Overflow or respective owner

Related posts about Windows

Related posts about git