author | Julian Phillips <julian@quantumfyre.co.uk> | |
Mon, 26 Mar 2007 23:15:32 +0000 (00:15 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 31 Mar 2007 08:26:28 +0000 (01:26 -0700) | ||
commit | 4f01748d51b530c297eeb5a0ece9af923d5db937 | |
tree | 60b08785d05b76835af4bfedd8f75cd3ca37d40e | tree | snapshot |
parent | 4557e0de5b7ef9d25cc7618ca37ae5f1acf82806 | commit | diff |
contrib/workdir: add a simple script to create a working directory
Add a simple script to create a working directory that uses symlinks
to point at an exisiting repository. This allows having different
branches in different working directories but all from the same
repository.
Based on a description from Junio of how he creates multiple working
directories[1]. With the following caveat:
"This risks confusion for an uninitiated if you update a ref that
is checked out in another working tree, but modulo that caveat
it works reasonably well."
[1] http://article.gmane.org/gmane.comp.version-control.git/41513/
Signed-off-by: Julian Phillips <julian@quantumfyre.co.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Add a simple script to create a working directory that uses symlinks
to point at an exisiting repository. This allows having different
branches in different working directories but all from the same
repository.
Based on a description from Junio of how he creates multiple working
directories[1]. With the following caveat:
"This risks confusion for an uninitiated if you update a ref that
is checked out in another working tree, but modulo that caveat
it works reasonably well."
[1] http://article.gmane.org/gmane.comp.version-control.git/41513/
Signed-off-by: Julian Phillips <julian@quantumfyre.co.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
contrib/workdir/git-new-workdir | [new file with mode: 0755] | blob |