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

Make the git:remote command print out the remote's value even if the remote already exists #39

Closed
arschles opened this issue Apr 9, 2016 · 1 comment
Assignees

Comments

@arschles
Copy link
Member

arschles commented Apr 9, 2016

Currently, the output looks like this:

ENG000656:k8s-claimer aaronschlesinger$ deis git:remote
fatal: remote deis already exists.
Error: exit status 128

Would be nicer if it printed out what the remote should be, but it could still exit non-zero

@Joshua-Anderson
Copy link
Contributor

Even better, we could do something like this:

$ deis git:remote
fatal: remote deis already exists and is not set to the expected url.
Got remote deis ssh://git@deis-builder.test.com:2222/oldapp.git
Expected remote deis ssh://git@deis-builder.test.com:2222/newapp.git
Please run 'deis git:remote -f` to overwrite
$ deis git:remote -f
Git remote deis ssh://git@deis-builder.test.com:2222/newapp.git added.
$ deis get:remote
Git remote deis already exists and is set correctly

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

3 participants