gh > hg
Surely you’ve seen the new GitHub gem features? Well it just got more awesome – again! Now you can use it in place of the normal @git@ binary. $ github…
Surely you’ve seen the new GitHub gem features? Well it just got more awesome – again! Now you can use it in place of the normal @git@ binary.
$ github branch * master
Every @git@ command will fall through.
But that’s not all – we’ve also added a nice shorthand alias: @gh@
$ gh status # On branch master nothing to commit (working directory clean)
You can even use it with Shawn Pearce’s git-completion bash script. Just add this magic incantation to your bashrc file:
# assuming ~/.git-completion is where your complete script lives source ~/.git-completion complete -o default -o nospace -F _git gh
Now you’ll get superchared @git@ completion while using @gh@.
We’ve also added a handful of bugfixes related to the @network@ command. Check it out:
$ gem install defunkt-github --source=http://gems.github.com
Written by
Related posts
The top 10 gifts for the developer in your life
Whether you’re hunting for the perfect gift for your significant other, the colleague you drew in the office gift exchange, or maybe (just maybe) even for yourself, we’ve got you covered with our top 10 gifts that any developer would love.
Congratulations to the winners of the 2024 Gaady Awards
The Gaady Awards are like the Emmy Awards for the field of digital accessibility. And, just like the Emmys, the Gaadys are a reason to celebrate! On November 21, GitHub was honored to roll out the red carpet for the accessibility community at our San Francisco headquarters.
Students: Start building your skills with the GitHub Foundations certification
The GitHub Foundations Certification exam fee is now waived for all students verified through GitHub Education.