I want to use git worktree to manage many branches. I have the following problem. I have some scripts I don't want in my branches.
My command is git worktree add src/new_branch. To put new_branches in folder src.
I already tried --no-checkout but when I for example do:
cd src ; cd new_branch ; git checkout -b new_branch2 ; git checkout new_branch
…all files from master are back in the branch new_branch again.
I hope you can help me :)
 
    