will it export all work-items?
Just like Daniel said, git-tfs is a source code migration tool. It only concerns itself with source code repositories.
You can check the scope of this git-tfs tool: Use git-tfs. There is no such command line is used for work-item.
So, this tool could not be used to export all work-items to hard drive.
in what format will the exported work-items be on my hard drive? (XML,
JSON, custom DB-Fromat?)
The format of the exported work item could be diverse. It depend on which format you need.
For example, we could export work item with witadmin command-line tool in the format XML:
witadmin exportwitd /collection:http://AdventureWorksServer:8080/tfs/DefaultCollection /p:AdventureWorks /f:myworkitems.xml /n:myworkitem
This command exports the definition for myworkitem
to the file, myworkitems.xml
.
Check the document Export the definition of a WIT for some more details.
Besides, we could also export the work-item to the excel/csv, even we could convert it Json format, Export Visual Studio Team Services Work Items Using PowerShell.
BTW, To migrate work item on TFS to Azure Devops, you can check this thread and this thread.
Hope this helps.