I have the actual situation:
There is a project in which I have been working. It is git controlled. Another person copied the project but did not copy the .git folder and the .gitignore and .gitattributes files.
After that he made an interesting modification that I would like to integrate into the project.
My original question was going to be: How can I put all the original history to this last version of the project, but I think I have solved it, it is rather simple: I copied the .git and .gitignore .gitattribute files to the project and it immediately has the project git controlled (and of course I still need to commit the changes)
All nice and good except one thing that is bugging me. Now among the things I have to commit there is the "add .gitignore file".
Does that mean that this was lost from the previous commits???