3 ms·
Honest question: What is this good for? I guess I don't use github (or any other visual vcs) enough.. but I really can't see any point in browsing file structur
by rplnt 12y ago
Honest question: What is this good for? I guess I don't use github (or any other visual vcs) enough.. but I really can't see any point in browsing file structure of the repo in a web browser.
- math0ne 12y agoIt seems like you are getting down-voted but I'm very curios about this as well. It has always seemed to me that the tree browser was very inefficient way of browsing a file structure especially if you get into the realm of deep directories and long file names.
- oblique63 12y agoA directory tree may not be the most optimal solution, but it's easier to browse than the default github view...
- smokinjoe 12y agoPersonally I use it when trying to view past changes and understand what the state of the repo was at that particular moment. Frankly, right now I just have a hard time remembering what path I was going down with the current process of traversing the file structure.
- lhnz 12y agoIt's good for when you want to browse a code base written in Java due to the deep folder hierarchies. And the reason somebody might do that is that they might be choosing between several different libraries, and want to evaluate the quality of their code a little before downloading them.
- fishtoaster 12y agoI browse repos on github pretty frequently. Some use cases: - It's someone else's repo (eg, a gem I'm using), and I just want to see one line real quick, rather than cloning the whole project locally and finding it there. - It's my repo, but I my local working copy is on a different branch or has uncommitted changes, so I don't want to bother stashing + changing branches just to look up one line - I'm poking around several repos that I have no intention of using- eg, looking at an interview candidate's public repos
- staticshock 12y agoFor the "my repo, wrong branch" use case, you have some options: git show other-branch:path/to/file or: git grep -e pattern other-branch
- skyebook 12y agogit-grep is indescribably awesome. To be fair though, I search github pretty frequently because it means I can search issues also. If issues were git repos themselves it would be a different ballgame.
- yeukhon 12y agoI am not a Java hater, but any Java or Scala repo has a very deep tree. Clicking down and refresh page is not fun. Also consider when you want to open multiple files which are on different levels of the tree. Without the tree ready you would go back and forth between pages or having multiple new tabs opened to open each file.