Open the same directory twice

后端 未结 5 818
情深已故
情深已故 2021-01-30 07:42

On command line, I could open a directory like:

    code .

Now, I want two of the identical diretory opened and displayed in another window.

5条回答
  •  误落风尘
    2021-01-30 08:45

    In addition to accepted answer, here's the trick if you want to open same project in two different windows but showing two different git branches:

    Copy the project folder and open that folder!

    If you want two windows in two different git branches then this simple trick works. I don't know of any other solutions.

提交回复
热议问题