For example, https://github.com/vanillaforums/Garden
is the GitHub repository. But I only want to 'watch' this directory https://github.com/vanillaforums/Garden/tree/master/plugins
in the repository.
How do I do that? There doesn't seem to be a way.
Step1: Input github url to the field at the top-right. Step2: Press enter or click download for download zip directly or click search for view the list of sub-folders and files. Step3: Click "Download Zip File" or "Get File" button to get files.
Use “Option+T/Alt+T” to show/hide the file tree. Navigate with arrow keys to expand or collapse directories.
Open the . git/info/exclude file in a text editor and add the folder to ignore. This file remains private to you.
If you want to clone the git repository into the current directory, you can do like: $ git clone <repository> . Here, the dot (.) represents the current directory.
GitHub provides feeds that can do this for both directories and files. Using that syndication, a service like Blog Trottr can send you an email whenever the feed is updated.
Some samples, taken from the Linux source code on master
:
A directory: source on GitHub, history on GitHub, Atom feed.
A file: source on GitHub, history on GitHub, Atom feed.
I can't think of anything if you really need to watch a directory. But if you can get away with a single file, you can use a change tracker like VisualPing1 on the raw view of the file in question. The directory view would probably change every time someone starred or watched the project, but a single file should be sufficient for a lot of people (especially with Makefile.am
/ CMakeLists.txt
/ etc. which list all subdirectories).
1 No particular endorsement. They bought the service I was using before.
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