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
I have delete a api, now i want to undo the operation. #1402
Comments
Transferring to the CLI repo. |
@hafizali05 The CLI currently does not have undo command. But there's a simple workaround.
then if you execute "amplify status", you will see that the api category is not changed, and you can continue your development normally. |
I did amplify env pull --restore and it was back to what I wanted. Although it may slightly contradict to what I asked for as I wanted a state where it's not deleted and still keep the changes. Pull restore takes me from start but than still I can do the cleaner way for my use case |
I had a similar challenged but I resolved it by copying and replacing my #current_cloud_backend folder with the backend folder. In my case, the locally served app was faultless so check again before you follow this approach. |
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
** Which Category is your question related to? **
amplify add and remove api
** What AWS Services are you utilizing? **
AWS APPSYNC amplify api remove
** Provide additional details e.g. code snippets **
1: I have added an api
2. i made the changes to the api but havent pushed the changes
3. i didnt like the stuff i did in there and so i deleted it.
3. its as shown in the image.
4 now i want to undo the operation which says remove.
how do i do that.
P.S i havent done amplify push yet.
The text was updated successfully, but these errors were encountered: