Tag Info

Hot answers tagged

8

Click on the "Network" tab of the repository that you want to see the oldest commit. When the page is fully loaded (i.e. you can see lots of lines joining and all), press Shift+← to go all the way to the first commit. Click on the dot that represents the first commit and you can get it. Note: This only works for repositories that was created on GitHub ...


7

There is an Issues API. To get all issues from a repo, you can use cURL: curl -i https://api.github.com/repos/rails/rails/issues This returns a JSON encoded list of all issues. And … curl -i https://api.github.com/repos/rails/rails/issues?status=open … returns all open issues. Now you just have to convert the JSON to CSV and you are set.


7

Github uses content-disposition: attachment for PDFs, which downloads the file automatically on github.com. You can host the file on a static page provided by GitHub which can link to this file and update as you update the PDF. For that, you can see github pages. Summary Create a repo named USERNAME.github.io. In that repo, click Settings then click ...


7

GitHub uses a strategy that involves the date-time-offset pattern. When you make a commit, the timestamp includes your offset from UTC. You can see this in the API docs for the Commits. The sample they show there uses a commit timestamp of "2010-04-10T14:10:01-07:00". This is a valid ISO8601 representation of a date-time-offset. For the person ...


6

It's just for fun. It's much the same as if you vote my answer up 100 times and I get a badge. If you could do that, I'll let you know if that or the gold star gives more virtual satisfaction. The advantage is more for GitHub, it's a very clever way of reducing support requests down to the absolute minimum text. If the same were applied to answers on this ...


5

It's been removed from all profiles. It must have happened around September 2013. It doesn't look like it's coming back. However, if you look at your profile and then view the source of the page you will see in the description meta tag that it is still there. <meta name="description" content="pinkpanther has 58 repositories written in Scala, Ruby, ...


4

The server at github.io certainly does caching. I have a demo up an running over there and was able to determine that the server sets Last-Modified which allows a client to use If-Modified-Since and get 304 from the server if the data has not been modified since it was last fetched. The server also sets CacheControl: max-age=600. I'm not cache specialist ...


4

Go to Github, select any project at random, and start clicking links until you get to a source file that is displayed directly in the browser. Conclusion: it is possible for your email address in a source file posted to Github to be picked up by a bot. Whether it's likely or not is another story. Note that the authors of jQuery UI are not squeamish ...


3

You can exclude search results on GitHub using a minus sign. So to search for all issues not labelled as bugs, you could put the following into a search: type:issue -label:bug Source.


3

The accepted answer (as of 18 Sep 2013) is incorrect. GitHub's robots.txt does include a rule disallowing /*/*/blob/*. However, it also includes a rule allowing /*/*/blob/master. Contents of the master branch will be indexed by Google. User-agent: Googlebot Allow: /*/*/tree/master Allow: /*/*/blob/master Disallow: /ekansa/Open-Context-Data Disallow: ...


3

GitHub Help has a great section on Creating and Deleting Branches from within the UI. From within the Repository of the project from which you want to delete a branch go to the Branches tab. From there you will have the option to delete branches using a button on the right-hand side:


3

Yes, by referring to the commit SHA that added that tag. Look up the tag via the Branches/Tags dropdown list or in the Releases (since on GitHub releases are tied to tags). When you load up the tag, you can grab the commit SHA from the top of the file list, where it says, latest commit XXX {clipboard-icon} And then reference it as you normally would ...


3

According to the GitHub Terms of Service, under section G. General Conditions, you'll find this: You may use GitHub subdomains (e.g., yourname.github.io) solely as permitted and intended by the GitHub Pages tool to host your company pages, personal pages, or open source project pages, and for no other purpose. You may not use GitHub subdomains in ...


3

This is what they say officially: Popular repositories This lists your repositories with the most stars and watchers. Go you! But looking it over, the listing order/precedence comes out as: All repositories created by you All repositories you've forked Then it counts the contributors, stars and watchers in that order, on each of those to see ...


2

The github markup uses org-ruby to convert org-mode to HTML. It is fairly basic and its README says: [...] Currently, you cannot do much to customize the conversion. The supplied textile conversion is optimized for extracting “content” from the orgfile as opposed to “metadata.” That is not very specific, but it appears what you are trying to do is not ...


2

GitHub has a developers' API which can be accessed from an unregistered user at the rate of 60 queries per hour. To see how many queries remain, use this GET endpoint: https://api.github.com/rate_limit To obtain the list of repositories, this GET endpoint is used: https://api.github.com/repositories For more details on pagination (30 items per request by ...


2

To set up Continuous Integration on GitHub, you need to have an account with a CI provider, such as CircleCI or TravisCI. Then, to list it in your GitHub README, just add a link like the following: <img src="https://circleci.com/gh/circleci/circle.png?circle-token=9d08f2d7a27f378d18681e517a0723518f478df3"> Magic!


2

Yes, this is quite possible but not necessarily in a way that will allow importing in to another product such as BitBucket. Where can you find this tool? On GitHub, ofcourse! It is called github-backup and the specifics of what gets back up and what doesn't are described here. Particularly of note though is that private repos aren't accessible through ...


2

To change the list of repos showing in "Repositories you contribute to" you'll need to change your commit behaviour. The "Repositories you contribute to" side box lists repos you've forked or have push access to (that belong to other users or organisations) with these ordering factors (based on observation): Recent activity by you or other users Total ...


2

Click on the color bar in the screenshot below: FYI: How does github figure out a project's language? (answer: using the linguist library)


2

My team ran into similar problems: a bug tracking system is great for logging all bugs and new functionality to be built, but we needed something more to help us prioritize and work together. The process we developed and that works really well for us is a combination of a bug tracker (BugZilla in our case) and Trello. Trello is a superb piece of web software ...


1

Thanks to the Internet Archive Wayback Machine, this is what the footer used to look like when they had the translation options circa late 2010: A redesign or two since then has removed the footer, and that the URL parameters have no effect, it's looking like that feature has been quietly deprecated from the GitHub web interface. Also, you can't load ...


1

For me, such feature was so obvious, that it can't be even more obvious. I was rather to think, that I'm going to get quick answer here, that it has already be implemented and I'm just missing some configuration stuff to enable it. I mean, how does GitHub survived that long, without this feature? Since, there was no answer here, I reported this to GitHub. ...


1

This is an interesting question, because Github keeps a history of some activities you do each day, plus it has a "longest streak" record. I narrowed it down. I made a commit at 1am EST, and another at 6am EST. The 1am commit counted against the day before, and the 6am counted as the day of. This corresponds with the comment on this question, that Also, ...


1

Kloudless for Chrome provides such a service. Except they currently don't offer support for past emails. According to their FAQ: Automation does not work for past emails at this time. We do think this is a great feature, and we plan on supporting it soon. If you are interested in using automation on your entire account, please contact us at ...


1

Not the way you're thinking of at least in GitHub. What you could try is have two separate repos with their own access list using Organizations and Teams. When you create teams in GitHub you can also restrict access to certain repositories per team. So you can set up the following: dev-repo - Only add and allow access to developers audit-repo - Only ...


1

Actually you can search for issues across repositories by including the author:$author. Here is an example that searches for all issues created by me across all repos.


1

Rob at GitHub said the 'issues created by you' page is broken by design: Issues you've created in any other repository will only be available at the respective project's issues page. Our team is aware that this behavior can be confusing, so they are investigating possible changing this in the future.


1

If the search engine crawlers honour the robots.txt then no, you won't be able to use external search engines to search for code hosted on GitHub. Here's the line from their robots.txt file disallowing that: Disallow: /*/*/blob/* If you go jumping about repos you'll see the path to the source code is something like this: ...



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