Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working on a Git repo for a client and I want to keep my client repos separate from my Apache htdocs folder. I want to work on the repo files here:


And whenever I save a file there, I want the clone to be updated here:


Is this sort of thing possible?

share|improve this question
up vote 3 down vote accepted

You may be looking for directory Junctions which is similar to a linux symbolic link. Strictly, it is not 2 copies but the same copy referenced by 2 paths with separate permissions.(similar to how documents and settings points to users)

share|improve this answer
In the same vain, on windows 7 (well since Vista) you can use mklink to create a symlink – Matt May 23 '11 at 21:58
This is exactly what I was looking for! I'm going to edit your answer to provide the syntax that works with my answer. – treeface May 23 '11 at 22:18

Try Microsoft SyncToy. It doesn't maintain the copy in realtime, but you can set up a scheduled task to sync them on whatever schedule you like (at logon, every hour, etc.)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.