Say I have two bash terminals open in the same git repository on branch main
.
In the one, I start some process that takes a while to run, storing the results in a subdirectory /data
every 2 seconds.
Then, in the other window, I call git checkout otherbranch
to change branches.
Will the first window continue the rest of the process on the first branch, storing all results in /data
on main
, then switch branches on completion? Or will the first chunk of the results be written to /data
on main
, while others are written to /data
on otherbranch
?