On Tue, Nov 3, 2009 at 11:09 AM, Dilip M <dilipm79@xxxxxxxxx> wrote: > I have repo in unix. The same repo is cloned onto windows.I have set > "core.autocrlf=input" in both the repos. > > When I do some change to a file in windows and push to unix repo, I > get file deleted If I do "git status"? > > What is the setting to be done if I want an repo to be > access/push/pulled across windows and unix? It sounds like you are pushing to the currently-checked-out branch of a non-bare repo. If this is true, you should do one of the following: - have a central "bare" repo (created with git init --bare) and push/pull from that rather than directly - pull, rather than push, when transferring data between repos. You can pull from a Windows box by running git-daemon on that box from the command line. (It's easier than it sounds.) Have fun, Avery -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html