-1

I tried (like described here other stackoverflow question)

to copy my whole repos to a new computer.

But now, it seems that git sees everything in the new directory as changed and want's me to commit these local changes.

There should be no local changes currently, since i just only copied the directories over to the new computer.

How can i bring all the repo-directories in sync again?

1 Answers1

-1

I managed to "sync" now.

Since i had no real local changes changes, i did the following:

First, i reset the local changes:

find -name .git -execdir git reset --hard ;

And then, did a pull:

find -name .git -execdir git pull ;