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

Ignore changes in files mutated on each login #81

Open
tracy-french opened this issue Apr 4, 2023 · 2 comments
Open

Ignore changes in files mutated on each login #81

tracy-french opened this issue Apr 4, 2023 · 2 comments
Labels
bug Something isn't working low effort Can be completed in a few hours or less low priority Low priority tooling Improvements to tooling

Comments

@tracy-french
Copy link
Contributor

Add /playwright/.auth/user.json and /apps/core/.cognito/db/us-west-2_h23TJjQR9.json to .gitignore.

@tracy-french tracy-french added tooling Improvements to tooling bug Something isn't working low effort Can be completed in a few hours or less high priority High priority labels Apr 6, 2023
square-li added a commit that referenced this issue Apr 10, 2023
@square-li square-li mentioned this issue Apr 10, 2023
8 tasks
@square-li
Copy link
Contributor

square-li commented Apr 10, 2023

Run git update-index --assume-unchanged apps/core/.cognito/db/us-west-2_h23TJjQR9.json before staging the change can fix it. I tried adding them to .gitignore but it doesn't work.

@tracy-french tracy-french added low priority Low priority and removed high priority High priority labels May 13, 2023
@boweihan
Copy link
Contributor

boweihan commented Jul 5, 2023

Sadly I don't believe there's a way to ignore changes to a previously tracked file that isn't a local git index solution. You can also use skip-worktree.

git update-index --skip-worktree apps/core/.cognito/db/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working low effort Can be completed in a few hours or less low priority Low priority tooling Improvements to tooling
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants