[Bug]: GitHub Integration does not obey .gitignore #3587
Labels
Area: @shopify/theme
@shopify/theme package issues
no-issue-activity
Type: Bug
Something isn't working
Please confirm that you have:
In which of these areas are you experiencing a problem?
Theme
Expected behavior
The GitHub integration does not obey .gitignore files. This has the side effect of files that should not be in the git repo being committed by Shopify. Examples of this type of file are built assets. The expected behaviour is that any file in a repo's .gitignore file should not be forced back into the repo if it exists in the theme (and not in the repo).
There are numerous community posts reporting the same issue:
https://community.shopify.com/c/technical-q-a/github-integration-doesn-t-support-the-gitignore-file/m-p/1253056
https://community.shopify.com/c/technical-q-a/github-integration-ignores-shopifyignore/td-p/2407792
Not sure if this is the right place to report this, but I don't see an alternative, so hopefully it ends up with the right team.
Actual behavior
Shopify GitHub integration forces ignored files to be tracked.
Verbose output
Reproduction steps
Operating System
Mac OS Ventura
Shopify CLI version (check your project's
package.json
if you're not sure)3.50.0
Shell
zsh
Node version (run
node -v
if you're not sure)v18.16.0
What language and version are you using in your application?
No response
The text was updated successfully, but these errors were encountered: