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

Do not fail when remote origin already exists #1

Open
tradej opened this issue Nov 4, 2014 · 0 comments
Open

Do not fail when remote origin already exists #1

tradej opened this issue Nov 4, 2014 · 0 comments

Comments

@tradej
Copy link
Member

tradej commented Nov 4, 2014

When GitHub remote is added as origin, currently DA fails on whichever error. I believe it would be more beneficial if, in the particular case that remote origin already exists, DA asked the user if they want to name the remote differently.

I believe this makes sense in the use case where a user checks out a git repository not hosted on GitHub, but want to host their forked version on GitHub. In my particular case, it was urlgrabber, which is based on baseurl.org, and I wanted to push my changes to my personal GitHub repository, whose remote name I selected as github.

This is a clone of devassistant/devassistant#250

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

No branches or pull requests

1 participant