I'm on the road right now and started thinking about a project I plan to work on and have a few questions.
I need to be able to read files and information from a (local) Git repository. So my initial thought is just to run Git commands just to fetch required information I need. My other thought is that I could read information from the .git directory which I imagine would be more efficient. Is there any information on this? Which is more efficient? Thanks!
To download from GitHub, you should navigate to the top level of the project (SDN in this case) and then a green "Code" download button will be visible on the right. Choose the Download ZIP option from the Code pull-down menu. That ZIP file will contain the entire repository content, including the area you wanted.
Open a repository on GitHub and press t to open the File Finder. This let's you find files by name (or name of the directory) in the current repo.
May I point your attention to this project: http://libgit2.github.com/ Might be perfectly suited for what you want to do.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With