I am using Git for my version control. I am currently working with a friend on a project, but I want to get all of the changes he made, and ignore all the files I had, but I want to do that locally. That is, I want to have a local fresh checkout, without using our svn server.
I have replaced my .git folder in the project folder with his. What Git command should I use to checkout everything from .git folder and replace all my code?
Please try
git reset --hardorgit checkout --force