github
Add syntax highlighting to gh-pages
Pages already does pygments, there’s nothing to install. Just use it! — layout: default title: Something with codes — Happy fun highlighting. [More details](https://github.com/mojombo/jekyll/wiki/liquid-extensions) {% highlight ruby %} def foo puts ‘foo’ end {% endhighlight %}
Keeping a fork up to date
To sync changes you make in a fork with the original repository, you must configure a remote that points to the upstream repository in Git. Specify a new remote upstream repository that will be synced with the fork. git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git You can check if it was succesful with: git remote -v Then … Read more
git checkout error: cannot create directory: Permission denied
I had a similar situation. Though it was due to me having the solution open in visual studio. Closing visual studio and doing a git reset put me into a good spot. I.e. check to see if any processes are locking the folder/files.
Can’t login to GitHub from SourceTree anymore
Your git is out of date. You need to update your system git and then switch ST to use that. I think ST’s embedded git needs to update the latest git version available on their server (complete guess). In the meantime, this works for me.
Difference between collaborator and contributor
From the GitHub Open Source Guide and GitHub Help. Author: The person/s or organization that created the project Owner: The person/s who has administrative ownership over the organization or repository (not always the same as the original author) Maintainers: Contributors who are responsible for driving the vision and managing the organizational aspects of the project. … Read more
How to get all of a user’s public github commits
https://connectionrequired.com/gitspective is your friend. 🙂 Filter out all but “Push”, and you have your view, albeit without the coding work to implement it yourself first. Inspecting what goes on with the Chrome DevTools “Network” tab might help you mimic the API queries, if you want to redo the work yourself.
Is there a way to increase the API Rate limit or to bypass it altogether for GitHub?
This is a relative solution, because the limit is still 5000 API calls per hour, or ~80 calls per minute, which is really not that much. I am writing a tool to compare over 350 repositories in an organization and to find their correlations. Ok, the tool uses python for git/github access, but I think … Read more