I tried adding the *~ pattern to .gitignore but that made my pipeline fail. I think it still should be done.