Skip to content
This repository has been archived by the owner. It is now read-only.
Port of git-new-workdir to Windows
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


There is now a much better way to handle separate work dirs using git worktree. That's why this repository won't receive any changes anymore and is archived.

This is a port of git-new-workdir to run on Windows with msysgit.

The original can be found there:;a=blob_plain;f=contrib/workdir/git-new-workdir;hb=HEAD

The script was tested on Windows 7 with git version 1.7.4.msysgit.0.

Known issues

git-new-workdir uses links to share the Git repository between diffent work dirs. Links are not really well supported by many applications on Windows. That may lead to unexpected behavior.

Do not use rm -rf to remove a working dir including a .git folder. rm does not pay attention to links and traverses into the orginal .git directory. You will loose your entire history that way.

Use Explorer to delete working dirs or at least the .git directory inside.

You can’t perform that action at this time.