On Wed, Jun 5, 2019 at 10:30 PM Ingo Wolf wrote:
>
> 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
Yeah --force works too. Not sure how it i
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
On Tue, Jun 4, 2019 at 1:32 AM Eric Sunshine wrote:
>
> On Mon, Jun 3, 2019 at 5:47 AM Duy Nguyen wrote:
> > On Sun, Jun 2, 2019 at 2:11 PM Eric Sunshine
> > wrote:
> > > On Mon, May 27, 2019 at 11:32 AM Ingo Wolf wrote:
> > > > I would like to attach an existing dir to git (make it a workdir)
On Mon, Jun 3, 2019 at 5:47 AM Duy Nguyen wrote:
> On Sun, Jun 2, 2019 at 2:11 PM Eric Sunshine wrote:
> > On Mon, May 27, 2019 at 11:32 AM Ingo Wolf wrote:
> > > I would like to attach an existing dir to git (make it a workdir) and
> > > then update the index with git reset and checkin the diff
On Sun, Jun 2, 2019 at 2:11 PM Eric Sunshine wrote:
>
> On Mon, May 27, 2019 at 11:32 AM Ingo Wolf wrote:
> > $ ls -a barework
> > ./ ../ test.txt
> > $ git -C bare worktree add --no-checkout ../barework
> > Preparing worktree (new branch 'barework')
> > fatal: '../barework' already exists
> >
On Mon, May 27, 2019 at 11:32 AM Ingo Wolf wrote:
> $ ls -a barework
> ./ ../ test.txt
> $ git -C bare worktree add --no-checkout ../barework
> Preparing worktree (new branch 'barework')
> fatal: '../barework' already exists
> $ git -C bare branch
>barework
> * master
> Why this doesn't just
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
7 matches
Mail list logo