You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just learned that subdirectories can have .gitignore's! Apparently lots of tools add .gitignore to their created folders, like venv recently did: python/cpython#83417
I wonder if it'd make sense for .azure to have a .gitignore? (Instead of adding itself to the repo's .gitignore?)
Just a thought!
The text was updated successfully, but these errors were encountered:
I wonder if it'd make sense for .azure to have a .gitignore? (Instead of adding itself to the repo's .gitignore?)
Hey @pamelafox - I wonder what would be the point of that? Specifying .azure in .gitignore at the repo level means that the folder will be ignored by Git.
If you remove .azure from the repo .gitignore, then the folder will be tracked by Git. If you add .gitignore to the .azure folder you could ignore items under that folder. I think this could be useful if you wanted to commit some environments (dev, stg, prd) but exclude others. This would allow you to share specific environments with other members of your team.
We now have support for remote environments, but committing .azure and specific environments would be easy than setting up a storage account.
The benefit of adding a .gitignore with * in .azure is that azd doesn't need to mess with the root .gitignore. It just seems like it might be a bit cleaner, less brittle. I think sometimes I get double .azure's in my .gitignore due to azd logic in how it adds to it.
Functionally, the result would be same as today. It's just a different approach.
I just learned that subdirectories can have .gitignore's! Apparently lots of tools add .gitignore to their created folders, like venv recently did:
python/cpython#83417
I wonder if it'd make sense for .azure to have a .gitignore? (Instead of adding itself to the repo's .gitignore?)
Just a thought!
The text was updated successfully, but these errors were encountered: