Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. VS 2013 Pro - Print / Export Git Commit History

VS 2013 Pro - Print / Export Git Commit History

Scheduled Pinned Locked Moved Visual Studio
collaborationvisual-studiowindows-adminxmlhelp
5 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    David_41
    wrote on last edited by
    #1

    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

    A 1 Reply Last reply
    0
    • D David_41

      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

      A Offline
      A Offline
      Afzaal Ahmad Zeeshan
      wrote on last edited by
      #2

      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 !~

      D 1 Reply Last reply
      0
      • A Afzaal Ahmad Zeeshan

        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 !~

        D Offline
        D Offline
        David_41
        wrote on last edited by
        #3

        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:

        A 1 Reply Last reply
        0
        • D David_41

          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:

          A Offline
          A Offline
          Afzaal Ahmad Zeeshan
          wrote on last edited by
          #4

          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 !~

          D 1 Reply Last reply
          0
          • A Afzaal Ahmad Zeeshan

            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 !~

            D Offline
            D Offline
            David_41
            wrote on last edited by
            #5

            Thanks again. I agree with you that it exists somewhere :) . I am betting that it creates an XML file or something like that. If I figure it out, I will come back and post the solution.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups