github

How to upload html documentation generated from sphinx to github?

I just documented loads of my code and learnt how to use sphinx to generate the documentation. I want to include that into my github project page but I do not know how to. Does anyone know existing tutorial or simple step to do so? Thanks. ...

same project, multiple customers git workflow

Hi, After my first question, id like to have a confirmation about the best git workflow in my case. I have a single django project, hosted at github, and differents clones with each his own branch : customerA, customerB, demo... (think websites) Branches share the same core but have differents data and settings (these are in gitignor...

Is it possible to include a file in your .gitconfig

I'd like to include a file in my .gitconfig that has my github settings - is this possible? Can I do something like this: [core] include = /path/to/file ...

rails plugin for github

I need help on figuring out how to create a repository on github to store a rails plug-in that i wrote. ...

Why are Ruby projects so dominant at Github?

Ruby is the most popular language at Github by far. Compare that with the questions at Stack Overflow or the TIOBE index. What is the reason for this difference in relative popularity in different places? ...

How to make part of an existing GIT repository a submodule

I have this git repository which contains to folders binary-search and poker: http://github.com/soulnafein/code-katas I would like to make this folders two submodules and I would like to keep the change history. How can I do that? ...

How to reduce the size of a repo on Github

I accidentally committed some large test wav files into my repository and they are using up a lot of space on my Github account. How can I remove these files from the history? Note: these files were committed some time ago and are not on the HEAD commit. ...

Workflow best practice with git and github?

I have been using git and github with my small team of developers for our projects. I can't help but think that we aren't doing it right. I am interested to hear how others use this workflow within their projects. How we use it: We branch before each change, merge back into the master, commit locally and push to our github repo. We then...

Git nested repos

I have 2 repos, A and B and I want to nest B inside A (add it as a sub folder). I just placed B inside A, but the problem is that when I do any modification on repo B, it's not added or even considered in Reop A. What change or modification should I do to make it considered as repo A? Considering that repo A is private and repo B is pu...

GitHub for .NET application on Windows?

I am an old time Visual SourceSafe developer but now I want to change the route. I heard about GitHub. Does anybody use GitHub on Windows for ASP.NET applications? What is your take? What are all the bug tracking systems we can use with GitHub? ...

clone parts of a github project

I'm trying to clone parts of a github project but I can only get the root folder. This is the first time im trying to use github and I just installed tortoisegit, im used to svn and cvs where you could just take a folder you wanted to checkout, but it seems git only got a .git file in the root folder so im not sure what to do. ...

tracking a different branch on github

I am trying to track a different branch of a github project. The project is restful_authentication: http://github.com/technoweenie/restful-authentication However, what I really want to clone is the modular branch: http://github.com/technoweenie/restful-authentication/tree/modular I found this guide: http://github.com/guides/showing-...

Accessing SSH key from bash script running via a cron job

I've put this script together to updated a folder of forked Github repositories on a daily basis. It runs fine if I call it from a prompt, but I can' figure out how to make it utilize my id_rsa reliably when it is run as a cron job. the eval 'ssh-agent' is an attempt to do just that, but it doesn't seen to have any positive affect. #!/b...

Pyfacebook from buildout

What is the best way to install the latest version of pyfacebook with buildout? The package is hosted on github and is not on pypi. This system doesn't have git installed, so a git-based recipe isn't unfortunately not an option. The github URL is http://github.com/sciyoshi/pyfacebook. TIA! ...

Link to GitHub issue number with commit message?

Is it somehow possible to automatically have a link to GitHub issue number in the git commit message? ...

Github API - commits by author

I am wondering if it is at all possible to use GitHub's API1 to retrieve a list of commits by a given author (for a specific repository, branch). One can grab recent commits to a repository and branch (e.g. mojombo's grit repository's master branch in JSON format: http://github.com/api/v2/json/commits/list/mojombo/grit/master) but I wou...

github how to include files from master in new git branch gh-pages

github has this feature where you can publish "Project Pages" if you create a new branch gh-pages in your project. For full description see http://pages.github.com/ My project is just html/images, so I just want to serve the master branch. so how do I create a new branch called gh-pages that is just exact copy of master? some kind of l...

Git pull certain branch from github.

I have a project with multiple branches. I've been pushing them to github, and now that someone else is working on them i need to do a pull from github. It works fine in master. But say I have branch xyz. How can I pull branch xyz from github and merge it into branch xyz on my localhost? I actually have my answer here: http://stackoverf...

Github first push problem... how to merge remote changes?

! [rejected] master -> master (non-fast forward) error: failed to push some refs to '[email protected]:me/me.git' To prevent you from losing history, non-fast-forward updates were rejected Merge the remote changes before pushing again. See the 'non-fast forward' section of 'git push --help' for details. how can I merge remote chang...

Tag messages on github.

In download section on github, you can download all version of the project associated with tags. But for some reason the tag descriptions are taken from the last commit. This happens even if one uses heavy tagging: git tag -a -m "tag commit message" Can I somehow force github to use my tag messages? ...