Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

joergrosenkranz/git-new-workdir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

git-new-workdir

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: http://git.kernel.org/?p=git/git.git;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.

About

Port of git-new-workdir to Windows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published