VS 2013 Pro - Print / Export Git Commit History
-
Hello all. Several programmers access a remote repository on our LAN. I can go into the Team Explorer tab in VS and in either Unsynced Commits or Changes, I can click the little down arrow next to Actions and then click on View History ...to view the Commit History. I would like to be able to export that as a Word Document, PDF, Excel file, XML file, or even a Text file if possible, but I do not see a way to do that, which is surprising. Does anyone know how I can do that? Maybe there is an extension? Maybe the History page exists as a temporary file somewhere. FYI, due to IT restrictions, I cannot issue Git commands from Powershell or the CMD window, so that is not an option for me. Thanks, David
-
Hello all. Several programmers access a remote repository on our LAN. I can go into the Team Explorer tab in VS and in either Unsynced Commits or Changes, I can click the little down arrow next to Actions and then click on View History ...to view the Commit History. I would like to be able to export that as a Word Document, PDF, Excel file, XML file, or even a Text file if possible, but I do not see a way to do that, which is surprising. Does anyone know how I can do that? Maybe there is an extension? Maybe the History page exists as a temporary file somewhere. FYI, due to IT restrictions, I cannot issue Git commands from Powershell or the CMD window, so that is not an option for me. Thanks, David
Export TFS 2010 History to Excel or Text Document - Stack Overflow[^] According to the above link, they say that you can connect the TFSWharehouse to your Excel application and then fetch the records in Excel format for your own use. Secondly, there is a source code sample given — nonetheless which is of no use for you from an IT's perspective as it would require a new project in itself. Since you are unable to do this, I missed the second post on that thread which was more useful, it says that you can pull the data in 3 different ways. Simplest being,
tf history $/ /r /format:detailed /noprompt
The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~
-
Export TFS 2010 History to Excel or Text Document - Stack Overflow[^] According to the above link, they say that you can connect the TFSWharehouse to your Excel application and then fetch the records in Excel format for your own use. Secondly, there is a source code sample given — nonetheless which is of no use for you from an IT's perspective as it would require a new project in itself. Since you are unable to do this, I missed the second post on that thread which was more useful, it says that you can pull the data in 3 different ways. Simplest being,
tf history $/ /r /format:detailed /noprompt
The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~
Thank you for your reply. Unfortunately, we are not using Team Foundation Server. We each have our own local repositories and we all connect directly to a common remote repository which is located in a shared folder on our LAN. I guess we are very limited in what we can do. It works great for us except for this one issue I guess where we cannot export our commit history. :sigh:
-
Thank you for your reply. Unfortunately, we are not using Team Foundation Server. We each have our own local repositories and we all connect directly to a common remote repository which is located in a shared folder on our LAN. I guess we are very limited in what we can do. It works great for us except for this one issue I guess where we cannot export our commit history. :sigh:
The concept was simple: Your service, that provides this service, does store the changes and commits offline in a database, file, or anything same. You can fetch the data from there. If that is a database, check how to connect to it, if that is stored in files, such as binary files, check how to read the data. Since you said, VS is able to show the history, the history is available but how you get it is a bit of question. Can you share the service being used? If not — no problem — you can talk to the managers and ask them to implement this feature. :-)
The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~
-
The concept was simple: Your service, that provides this service, does store the changes and commits offline in a database, file, or anything same. You can fetch the data from there. If that is a database, check how to connect to it, if that is stored in files, such as binary files, check how to read the data. Since you said, VS is able to show the history, the history is available but how you get it is a bit of question. Can you share the service being used? If not — no problem — you can talk to the managers and ask them to implement this feature. :-)
The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~