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

Multi-env warn of branch mismatch. #1287

Open
jarrettj opened this issue Apr 16, 2019 · 2 comments
Open

Multi-env warn of branch mismatch. #1287

jarrettj opened this issue Apr 16, 2019 · 2 comments
Labels
feature-request Request a new feature multienv Issues tied to multiple environment feature in the CLI ops-multienv Operational theme: multi-environment p4 pending-review Pending review from core-team

Comments

@jarrettj
Copy link

Is your feature request related to a problem? Please describe.
More of an inconvenience. Might just be me though. But I usually don't remember to amplify env checkout branch.

Describe the solution you'd like
If you are on a different branch to the env currently used by amplify, warn the user during an amplify push.

Describe alternatives you've considered
Updating my bash config to call both commands at once.

Additional context
N/A

@jarrettj jarrettj changed the title Multi-env warn of branch mismatch Multi-env warn of branch mismatch. Apr 16, 2019
@UnleashedMind UnleashedMind added feature-request Request a new feature pending-review Pending review from core-team labels Apr 16, 2019
@hisham
Copy link
Contributor

hisham commented Apr 17, 2019

+1. I ran into this as well and once ended up accidentally pushing prod client app pointing to non-prod resources. I just ended up hardcoding the prod appsync resources in my client app when a prod build is made.

@UnleashedMind UnleashedMind added the multienv Issues tied to multiple environment feature in the CLI label Apr 22, 2019
@UnleashedMind
Copy link
Contributor

Thanks for your feedbacks, we'll review it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request a new feature multienv Issues tied to multiple environment feature in the CLI ops-multienv Operational theme: multi-environment p4 pending-review Pending review from core-team
Projects
None yet
Development

No branches or pull requests

4 participants