bellybutton
bellybutton copied to clipboard
Support non-master default branches
More and more projects use a default branch other than 'master'. This PR guesses the default branch based on HEAD of the origin remote.
This PR also removes the 'fetch' call, which shaves off two seconds. When you're working on a relatively up-to-date clone, this shouldn't change the behavior too much.
@hchasestevens When do you think this pull request will be approved?