ruby_noobie
ruby_noobie

Reputation: 205

Git merge, add all updated files

I just merged two repositories, and I had to update probably 50+ files. To complete the merge I need to add back the updated files, I get this error:

error: merge is not possible because you have unmerged files.
hint: Fix them up in the work tree, and then use 'git add/rm <file>'
hint: as appropriate to mark resolution and make a commit.
fatal: Exiting because of an unresolved conflict.

I have resolved all of the conflicts in the code, is there a command that will add all updated files or do I have to go file by file and add it manually?

Upvotes: 0

Views: 1510

Answers (1)

Michelangelo
Michelangelo

Reputation: 5948

You have to do it in this order:

git add . git commit git merge

Upvotes: 1

Related Questions