The New, Improved GitHub Gem
While at RubyConf this year, giving my talk and drinking like an idiot with nearly every internet-famous Rubyist out there, I had a great idea. Only my incredible humility prevents…
While at RubyConf this year, giving my talk and drinking like an idiot with nearly every internet-famous Rubyist out there, I had a great idea. Only my incredible humility prevents me from being able to properly describe the full awesomeness of this idea. While talking with some GitHub users there (which were many – there were tons of ‘Fork You’ sightings, and half the talks had a GitHub URL or Octocat in them at some point), I thought of a pretty useful addition to the github gem tool. So, I coded up a command line version of the network graph information, and it has since been pulled into the official github gem.
I also found out that not too many of the guys I talked to use the github gem, but of those that do, they seem to love it. So, yesterday I did a 20 minute screencast on how to use the github gem itself and our new network additions to it.
The long and the short of it is that the command line tool now has an interface to the network graph api – you can now view a list of all the remotes in your projects network that have commits that you haven’t pulled in yet, and you can list each of those commits and decide if you want to cherry-pick, merge or ignore them.
This gives everyone a nice, simple workflow to keep up to date on what patches people have pushed and be able to manage those changes easily. If you have a project or have forked a project that has a number of forks and want to see quickly and easily what is out there that you don’t have yet – this is going to change your life.
Even cooler, you can filter and sort the list of outstanding commits, including by whether or not each patch will apply cleanly to your current HEAD. You can literally have hundreds of patches pending from people and be able to see which of those hundred should cause you no merge conflicts when incorporating. That will let you contact the others and ask them to rebase their work off your current work before you will pull them in. For more details and examples, check out the screencast :
(you may want to fullscreen this to read all the command line stuff…)
On a side note, I tested this out in like 5 online video sites, and I have to say if you’re looking to put screencasts online where you need to be able to read fine text – blip.tv is basically your only choice. Seriously – that site rocks. If you click the fullscreen you can actually read everything, it’s not all pixelated and such. Youtube, Vimeo, Viddyou, Brightcove – nothing else worked. fyi…
Written by
Related posts
![](https://github.blog/wp-content/uploads/2023/10/Collaboration-DarkMode-2.png?resize=400%2C212)
2024 is the biggest global election year in history. What’s at stake for developers?
GitHub is considering what is at stake for our users and platform, how we can take responsible action to support free and fair elections, and how developers contribute to resilient democratic processes.
![](https://github.blog/wp-content/uploads/2023/10/AI-DarkMode-2.png?resize=400%2C212)
GitHub named a Leader in the Gartner first-ever Magic Quadrant for AI Code Assistants
This year, as part of its annual Magic Quadrant series, Gartner published a first-of-its-kind report analyzing the state of play in the AI Code Assistants market–and named GitHub a Leader.
![AI in software development 2024 survey results with colorful graphics and percentages.](https://github.blog/wp-content/uploads/2024/08/ai-survey-header.png?resize=400%2C212)
Survey: The AI wave continues to grow on software development teams
We surveyed 2,000 people on software development teams at enterprises in the U.S., Brazil, India, and Germany about the use, experience, and expectations around generative AI tools in software development.