Suppose I have the following two branches and the local branch is "mybranch"
master master\file.txt master\directory\file2.txt ... mybranch mybranch\otherfile.txt
I would like to create a new directory, name it 'test'. I would like to add ALL the contents of the wizard to mybranch\test . I do not want these files and directories to be delivered, just copied.
I tried git checkout mybranch -- with various combinations of wildcards, slashes, periods, and I just can't get it to work.
So in this example, my end result will be
mybranch mybranch\otherfile.txt mybranch\test\file.txt mybranch\test\directory\file2.txt
Can this be done without switching branches?
source share