bellybutton icon indicating copy to clipboard operation
bellybutton copied to clipboard

Support non-master default branches

Open remcokranenburg opened this issue 3 years ago • 1 comments

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.

remcokranenburg avatar Sep 19 '22 15:09 remcokranenburg

@hchasestevens When do you think this pull request will be approved?

irtimir avatar Oct 26 '22 11:10 irtimir