git-open icon indicating copy to clipboard operation
git-open copied to clipboard

git open master if current branch does not have remote

Open gfx687 opened this issue 5 years ago • 0 comments

Hello

First, thank for your work! This utility command is really useful and is exactly what I was thinking about

I want to suggest to open the master branch if the current branch doesn't have a connected remote branch. For example: I am doing some stuff on the BRANCH1 branch which doesn't have remote upstream. So if I type git open, master branch will open instead of 404 error in the browser (because the current branch doesn't exist in the remote repo)

gfx687 avatar Nov 19 '19 08:11 gfx687