groupbuddies/dotfiles — pull request #9 by naps62 (2014-04-04 23:27:27+00:00)
Title: Some of my custom git commands

I actually have them with shorter names, such as `cpr` instead of `close-pr`
and `ppr` instead of `publish-pr`, but I believe that should be left to each
of us to choose our own aliases

* branchname: outputs current branch's name. Intended to be used as a utility
for other commands
* publish: taken from [here](http://git-wt-commit.rubyforge.org/). Creates the
current branch on the remote, and tracks it
* wtf: from the same link as above: shows some random stats about the repo
* publish-pr: shortcut to both publish the branch and open a pull request
(against master, by default)
* nuke: deletes a branch both localy and remotely. Remote deletion is done
asynchronously
* close-pr: the entire workflow of closing a PR: fetch/rebase on master,
rebase feature branch against master, merge && push. Finally, asserts that
both branches are now at the same state, and nukes the feature branch
* all: stages everything, and starts a commit