microsoft / vscode-azurestaticwebapps

Azure Static Web Apps extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurestaticwebapps
MIT License
86 stars 33 forks source link

Git Pull on successful resource creation? #860

Closed diberry closed 9 months ago

diberry commented 9 months ago

Does the extension perform a Git Pull after it creates the resource? This seems like new behavior.

nturinski commented 9 months ago

We have had this behavior for over a year: https://github.com/microsoft/vscode-azurestaticwebapps/pull/692/files#diff-71e8df3edc0b95484e8ea0cfb8fb79ffc32b5160dd9e62fb6717d0e7ee711b07R173.

The idea was we force users to have a clean repo when creating a static web app. Therefore, we should be able to do a git pull without any conflicts. The reason we want to pull down changes is because SWA is automatically creating the .yaml file in their repository, and we want that file to be in their local workspace.