github

Why is Github more popular than Gitorious?

Gitorious has been around longer and the two sites seem to cover the same ground, yet a quick Google Fight shows Github almost two orders of magnitude higher. Is there a larger distinction that I'm not aware of? ...

Trying to load files from github through a firewall is impossibly slow. Any suggestions for workarounds?

I'm a little hesitant to post this, as I'm not completely sure what I'm doing. Any help would be wonderful. I'm on a computer with a firewall/filter on it. I can download files without any difficulty. When I try to clone files from Github, though, the computer just hangs. Nothing happens. It creates a git file in the folder, but the key...

Rolling back in Git

We're using Github. I have committed, and pushed, several patches: A1-->A2-->A3-->A4 (HEAD) Everyone's pulled these changesets into their local copy. Now we want to "roll back" to A2, and continue developing from there - essentially throwing away A3 and A4. What's the best way to do this? ...

Pushing an existing Git repository to Github only sends about half the commits?

I have a local Git repository I've been developing under for a few days: it has eighteen commits so far. Tonight, I created a private Github repository I was hoping to push it to; however, when I did so, it only ended up pushing eight of the eighteen commits to Github. I deleted the Github repo and retried, with the same result. Any tho...

Partial sharing of git repositories

I am new to git. I am wondering whether the following scenario is supported, and if so how (i.e. git commands for setup and update). A repository is available from three different places: 'local', 'mirror' and 'github'. 'mirror' mirrors 'local' completely and 'github' mirrors 'local' except for a 'copyrighted' directory. Thanks. ...

Whats the best way to work with Github and multiple computers?

I am developing some school grading software and decided to use Github to host the project. After building some code on my Ubuntu box I pushed it to Github and then cloned it down to my MacBook Pro. After editing the code on the MBP I pushed it back to Github. The next morning I tried to update my repo on the Ubuntu box with a git pull ...

Project management to go with GitHub

My C# Protocol Buffers Port uses github for its source control, and I'm beginning to really enjoy using git. However, as far as I can tell, github doesn't provide any project management tools: defect and feature tracking, discussions, feature requests, docs etc. Given my affiliations, Google Code would be a natural choice, but it would s...

Why is "origin/HEAD" shown when running "git branch -r"?

When you run git branch -r why the blazes does it list origin/HEAD? For example, there's a remote repo on GitHub, say, with two branches: master and awesome-feature. If I do git clone to grab it and then go into my new directory and list the branches, I see this: $ git branch -r origin/HEAD origin/master origin/awesome-feature Or what...

Rollback File to much earlier version

Is there a way in Git to rollback to a much earlier version of a file? I can roll back to the previous version with REVERT, but what if i want to go back to earlier versions? Whats the best workflow for managing waypoints in yout code? Branch each time so that you have a full copy of your code at a certain period in time? ...

What's the best Web interface for Git repositories?

I've been using Git for a bit now (hosting my own) and would love to have something like GitHub that I could setup for my own repos. I've seen GitWeb, but I just don't like using it all that much. Is there anything for Git that's as slick as Warehouse for SVN? ...

Removing code from GitHub

Is there a way to entirely remove a directory and its history from GitHub? ...

How can I remove a commit on github?

I "accidentally" pushed a commit to github. Is it possible to remove this commit? I want to revert my github repository as it was before this commit. ...

Git plugin for Hudson checkout problem

When using the Git plugin for Hudson my job always fails when fetching the latest sources from my online git repository ( git://github.com/ithena/orm2dsl.git ) . The git plugin first executes git fetch succesfully. Then it tries to execute git checkout -f origin/ , which fails as shown below. Is this a problem with my git repository or ...

Is there any way to clone a git repository's sub-directory only?

I've got my git repo here: http://github.com/nicksergeant/finisht/tree/master Which, at the root, has two sub-dirs: /finisht /static When this was in SVN, /finisht was checked out in one place, while /static was checked out elsewhere, like so: svn co svn+ssh://[email protected]/home/admin/repos/finisht/static static Is there anywa...

how do you push only some of your local git commits?

Suppose I have 5 local commits. I want to push only 2 of them to a centralized repo (using an SVN-style workflow). How do I do this? This did not work: git checkout HEAD~3 #set head to three commits ago git push #attempt push from that head That ends up pushing all 5 local commits. I suppose I could do git reset to actually undo...

Is there a hosted SVN provider that offers discussion tools on par with GitHub's?

We use SVN at work (ie. this is not an open-source project) and have an off-shore team working in our code. I'd love to be able to communicate better with them and the commenting system provided by GitHub would be perfect. With GitHub's system I can start a discussion on any line of code in a commit. So, my question: does anyone know ...

Git and Trac (or similar)

In the past I have really enjoyed using Trac with subversion repositories hosted on some of my own servers. The integrated ticketing and online code browsing is very convenient. I have used github for some of my public projects but I don't have the money to shell out for an extra service, espcially when I am already paying for remote V...

Is there a way to import svn history into git after the fact?

I already have a svn read only repo checked out (svn co and not git svn). I have made some changes and commits using git which is then pushed up to github. At this point, git does not have all of the history from svn. I was wondering if there was a way to extract and import this at this point. The various git-svn guides show how to im...

What are some standard setups people are using to work with GitHub?

In other words, how do people work with Git? I just finished uploading my first project and it was far from being a straightforward task, anyway once the thing is up and running what would be a good configuration? I cannot see how people could rely on the GitGUI or command line for their professional development work or worse code stra...

What's the best way to search GitHub?

The search feature on the site seems pretty awful. Are there any external sites that do a better job of categorizing projects with tags, etc? Or maybe I'm just not using GitHub correctly? ...