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

If users are active on GitHub, you might be able to catch their email address from a commit log or open up an issue on a project they are working on. If they are inactive however and don't have a visible email or repository there doesn't seem to be a direct way. I came up with this workaround that might be worth a try in extreme cases: create an empty ...


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

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 ...


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.


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

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


2

Use Google Docs viewer with a url like: https://docs.google.com/viewer?url=${link_to_raw_pdf} e.g. https://docs.google.com/viewer?url=https://raw.githubusercontent.com/degoes-consulting/lambdaconf-2015/master/speakers/jdegoes/intro-purescript/presentation.pdf ...


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

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

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

Private repositories on your account are locked when you downgrade your paid account to a free one, or if your paid account is seriously past due because of billing problems. When your account is locked, your private repositories cannot be accessed until paid status is resumed. They won't ever be made public, nor will they be automatically deleted. ...


2

Currently it's not possible. I have confirmed with GitHub staff by sending email. Currently you can only reply to existing email notification in order to post the comments on the issue. For new issue you have to raise manually on the GitHub site under your repo or use other custom plugins. Though they are considering it as a feature request. Further, if ...


2

Get the RAW link of that README.md file. Then go to web2pdfconvert. Paste link and click Convert to PDF. Download your PDF.


2

They are ordered by due date. Items with no due date are put at the top of the list.


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

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

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 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


1

Yes. It's recommended that you use your personal github account for work. On their help page Merging multiple user accounts: If you have separate accounts for work and personal use, you can merge the accounts. Tip: We recommend using only one user account to manage both personal and professional repositories. On their help page Can I create ...


1

I hope there is a better way, but here is one solution (click on red rectangles):


1

GitHub flavored markdown supports Using triple back ticks to fence code blocks, which lets you wrap code blocks more easily than indenting every line. Standard Markdown converts text with four spaces at the beginning of each line into a code block; GFM also supports fenced blocks. Just wrap your code in ``` (as shown below) and you won't need to indent ...


1

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


1

If you are not logged in (or you open github.com in a private tab), you'll see a line saying: "Upgraded plans starts at $x/mo." This will take you to https://github.com/plans which eventually becomes the one you are looking for.


1

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


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 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 ...



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