Am 05.06.2019 um 12:17 schrieb Duy Nguyen:
"worktree add --no-checkout --keep-worktree" is quite readable
worktree add --no-checkout -f (orce)
I've expected to work on an not empty directory
x@y MINGW64 ~/gittest
$ ls
bare/ barework/
x@y MINGW64 ~/gittest
$ ls -a barework
./ ../ test.txt
x@y MINGW64 ~/gittest
$ git -C bare branch
* master
x@y MINGW64 ~/gittest
$ git -C bare worktree add --no-checkout ../barework
Preparing worktree (new branch 'barework')
fatal: '../barework' a
2 matches
Mail list logo