how to show history of a folder in visual studio git

前端 未结 2 816
时光取名叫无心
时光取名叫无心 2020-12-17 08:58

I\'m using visual studio 2016 git integration. If I right-click on a source file I can see the history of just that file. similarly if it\'s a sub-folder inside a project, I

相关标签:
2条回答
  • 2020-12-17 09:17

    Have you tried to go to the Team Explorer, and choose one of the hubs Changes, or Branches, or Sync ? You will find a drop down menu item named Actions, and within that you will find View History.

    or you can go to the different branches in the Branches Hub, right click one of the branches, and choose View History

    This will show you the whole history for your repo for a given branch.
    If you have multiple folders or solutions within a repo, there is currently no such feature within VS, so you then need to revert to the command line, and use git log, or the gitk for a kind of graphic view of the same, a previous answer for that is here: View git history for folder

    0 讨论(0)
  • 2020-12-17 09:32

    You can change the Solution Explorer to Folders View

    Then you can right-click to find the View History menu.

    0 讨论(0)
提交回复
热议问题