How to ignore files in UiPath with a .gitignore file the correct way?

Hi @savantsa I have had the same issue. Check your online repo as these old folders are already committed into it. You will want:

  1. Remove your current gitignore file. This is so we can clean up your remote environment

  2. Delete the .settings and .local folder for all your projects. Don’t worry, this wont break anything as when you reopen the project they will auto generate

  3. Once all local and settings folders are deleted, commit the changes and push to remote to reflect these in your repository.

  4. Update your .gitignore to the two lines I list below. You can use any text editor for this.

.settings/
.local/

Cheers and stay safe brother

5 Likes