E
E
egsi2018-10-09 16:00:10
git
egsi, 2018-10-09 16:00:10

How to move files from one branch to another?

There are three files. I uploaded them to a branch, and then I realized that they should be in another branch, what should I do in this case?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JaxxDexx, 2018-10-09
@egsi

We switch to the branch where we need to move the file, for example
We take the necessary file from another branch
where paths is the path to the file, it is possible to specify several paths at once separated by a space, I don’t remember already
Well, of course, in the branch in which you originally placed the files, they will remain , you need to remove them yourself if they are not needed there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question