Hot answers tagged

17

If you're viewing the contents of the file itself there should be a "Raw" button. You can either: Right-click on that and select the "Save content as..." (or similar depending on your browser) Click through to see the contents dumped onto the screen and save from there


8

In the list of files, every filename is a link. A simple right-click and "Save link as..." (or equivalent for your browser) will allow you to download a single file. This breaks down with HTML files, however. You'll need to use the "Raw" button on the file page as Eight Days of Malaise's answer describes. I'm using Google Chrome. You may have a different ...


5

You must keep the forked repo around until the merge is done; otherwise, GitHub will not keep your changes. Additionally, it isn't really a waste of space since GitHub allows unlimited open repos for no cost, and lesser used repos drop off the list of recently contributed repos on the front page, so you won't ever see it. If you are talking about your ...


3

GitHub storage limits as of Sep 2015 Per repository git file: 100 MB (strict) GitHub will warn you when pushing files larger than 50 MB. You will not be allowed to push files larger than 100 MB. https://help.github.com/articles/working-with-large-files/#conditions-for-large-files Per repository: ~1 GB (recommended) We recommend repositories ...


3

the in:path kinda worked, but searching for .travis.yml in:path only returned about 6.8 million entries. I was about to find 15 million using filename:.travis.yml


3

READMEs are very important to GitHub repos, and you've used yours well so I would recommend against adding those files to your .gitignore. Instead, I would recommend using GitHub releases and provide the "clean" zip file there. You could also use your README to point to the latest release download link when you get that set up.


3

I did my own experiment, here is what I found: If you block a user, they will be prevented from commenting or opening issues on any repos that you own For any repos where you are a collaborator, they are unencumbered Also I found this: http://help.github.com/articles/blocking-a-user


2

How to update a forked GitHub repo with changes from the remote upstream repository Instructions from GitHub Help: Configuring a Remote Fork Syncing a Fork Setup / Operation Instructions: Open Git Bash (Windows) or Linux / Mac Terminal If you have not yet cloned your repository, you must change to the working directory of your development folder ...


2

Since March, 2014 you can, by using Github's commit API to specify the exact timestamp for your commit. To see the the format refer to the developer's documentation. Or you can set the timezone by passing it in headers while making the post request in a commit. like curl -H "Time-Zone: Europe/Amsterdam" -X POST ...


2

Another option that might be useful to you is Zapier's Github-Slack integration: You can push new commits, issues, branches, and other events to Slack as a DM or channel message, or send your Github data to any other supported app. Disclosure: I work for Zapier


2

I don't believe Github offers the ability to view a single highlighted file that is part of a multi-file gist, unfortunately. You could: A) Re-paste that file into it's own separate gist. B) Use another service to highlight code for you such as Rouge. It's an open source project that does syntax highlighting and allows you to save the data you highlighted ...


2

Actually there is finally a super simple service doing right what is needed https://sibbell.com/ Get with github account, and you can get notification of new releases based on watch and/or stars. Totally free! It can get even more granular on a per base repository filter with some premium features, totally awesome!


2

GitHub's built in search covers the and, not, and or operators, as well as various other comparisons. GitHub's general guidelines on searching are located here: https://help.github.com/articles/searching-github/ With its search syntax described here: https://help.github.com/articles/search-syntax/


2

I think that you only have to have the project watched. It should send you notifications when anything such as issues and the WIKI are updated. UPDATE: As the updated question states, watching does not give you updates on the Wiki. However, this question has been asked on stackoverview: How can you track or be notified of changes to GitHub wikis? A couple ...


2

I asked GitHub this same question and was told it's not possible. They said they're aware that many customers have asked for this feature, so it's something their developers are looking into. This was their response as to how to fix: While it won't prevent the initial creation of a public repository, one option is to use the Repository Creation event ...


2

Also you can use GitHub API ( https://developer.github.com/v3 ) and parse JSON in any language to filter data ( only names and links to forks ) https://api.github.com/repos/odoo/odoo/forks In response headers you can find next pages Link:"<https://api.github.com/repositories/19745004/forks?page=2>; rel="next", ...


2

Yes, you can. There is two different options: one in the Profile "Public email" and one in Notification center "Primary email address".


2

If the owner of repository B decides to delete that repository, users will not be able to successfully clone/checkout/build my repository anymore. If the dependent code "repo B" vanishes: All users will be able to successfully clone your repo. Existing users will probably have a copy of repo B locally and continue building just fine. Cloned repos do ...


2

Your question mentions "code samples" and a "read-only" way to share the code. What about uploading only the most relevant excerpts of your code? You could even use Gists: Gists are a great way to share your work. You can share single files, parts of files, or full applications. You can access gists at https://gist.github.com. ... Secret gists ...


2

On the website, it states: Please note that all the resources are gathered by users and public sources on the internet. It's rather ambiguous, but it might mean that only the users find the plugins.


2

If you're referring to running the application to see its GUI (assuming that the application has a GUI), you need to clone the project onto your local hard disk. There are instructions on GitHub Help on Cloning a Repository. If you have Git installed on your computer, you simply open up a Terminal, cd to the correct location on your computer and type in: ...


2

I think you need to create a Release in order to upload a JAR file, as per this blog post. Or you need the Maven-GitHub-Plugin.


1

It doesn't look like this is provided by GitHub per se, but the source code for the buttons I saw is available at https://ghbtns.com/.


1

I don't believe so. Github has APIs for this kind of stuff, but they mention this: Events support pagination, however the per_page option is unsupported. The fixed page size is 30 items. Fetching up to ten pages is supported, for a total of 300 events. Only events created within the past 90 days will be included in timelines. Events older than 90 ...


1

Indeed, Github flavoured markdown is significantly better than the MD supported here on stackexchange. However, it is true that you don't get a toolbar to help you. It is expected that you know some basics. You can use the toolbar here to help learn some basics if you like though there is a help page linked on Github. Worth learning the github extensions. ...


1

It does not seem possible on the GitHub web UI. One good possibility if you don't want to clone (that looks like a large one...), is to use https://www.githubarchive.org/ which exports to Google BigQuery with the query: SELECT payload_commit_name, payload_commit_email FROM [githubarchive:github.timeline] WHERE payload_commit_id = ...


1

I ended up making my own solution to this. It can be found at jsnider3.github.io/GitHubBOC


1

As of 2016 February you can use the new upload files feature. You’ll soon be able to skip the command line and upload files directly to your repositories without having to leave the browser. Repository uploads will be rolling out over the next few days, so if you can’t upload yet, sit tight. You can click the “Upload files” button in the toolbar at ...


1

I use Codenvy to upload files to GitHub or Google App Engine.


1

There are no ways to do it because GitHub delivers only two kinds of notifications: Participating: Someone mentions you or a team you're a member of You are assigned to an issue or pull request Someone makes a comment in a conversation you're subscribed to Watching Opened issues and their comments Opened pull requests and their comments Comments on ...



Only top voted, non community-wiki answers of a minimum length are eligible