Git add a worktree from existing remote branch

前端 未结 4 673
执笔经年
执笔经年 2021-02-03 21:33

In my remote repository there are 3 branches (master and 2 long running branches):

master  #the common features are here like Core, DAL,...
north   #customized f         


        
4条回答
  •  深忆病人
    2021-02-03 21:44

    For this problem, worktree add does need a --checkout switch to do so:

    $ git worktree add --checkout ../north north
    $ git worktree add --checkout ../razavi razavi
    

提交回复
热议问题