Branch removing files from the master branch

Asked

Viewed 167 times

1

My question is this: I’m on a branch trying to merge my master branch. But git is ignoring some files when the merge is given.

How to Force Put Everything?

1 answer

0

Well, I’d do it this way:

git checkout branch_que_quero_dar_o_merge

git checkout branch_em_que_quero_arquivos -- pasta/ou/arquivos

Thus, if the merge is deleting some file, you can just pick them up again from the other branch through checkout with the other specified branch.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.