Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git open master if current branch does not have remote #157

Open
gfx687 opened this issue Nov 19, 2019 · 0 comments
Open

git open master if current branch does not have remote #157

gfx687 opened this issue Nov 19, 2019 · 0 comments

Comments

@gfx687
Copy link

gfx687 commented Nov 19, 2019

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant