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
Apply now for GitHub Universe 2023 micro-mentoring
As part of our ongoing commitment to accelerate human progress through Social Impact initiatives, we’re offering students 30-minute, 1:1 micro-mentoring sessions with GitHub employees ahead of Universe.
The 2023 Open Source Program Office (OSPO) Survey is live!
Help quantify the state of enterprise open source by taking the 2023 OSPO survey.
Godot 4.0 Release Party 🎉
We are delighted to host the Godot 4.0 Release Party at GitHub HQ on Wednesday, March 22 from 6:30 pm to 9:30 pm. And you’re invited!