I have tried to migrate a GIT repository to TFS Online with following command
git tf configure https://myusername.visualstudio.com/DefaultCollection $/NameOfTheProgram
git tf checkin --deep --no-lock
It worked as it should. I got all files with history in TFS. But there is one detail that bothers me a lot. It now looks like that all the files are checked in today. It gets confusing when I go through the files, I can not see the difference between files that I changed yesterday and files that I have not touched in years.
Is there a way to migrate from GIT to TFS and retain timestamp of last check-in?