skip to Main Content

I am using Github desktop to source control my app, but it keeps changing/deleting/adding all sorts of files that I did not touch, assets, pod files, and I do not know what is going on or how to stop it. Any help here?

I re-cloned my repo and still having the issue

enter image description here

enter image description here

3

Answers


  1. They are build artefacts, Pods, and other things you should’ve excluded from your repo. Use gitignore.io to create a proper .gitignore file, and add it to root folder of your repo (e.g. like this). Then delete all this junk from your repo.

    I also recommend reading Apple’s guide on working with Source Control

    Login or Signup to reply.
  2. like sfgblackwarkrts already said these "random" files are artefacts, pods etc.
    They will be created everytime you made any changes in one of them E.g. updating your pods, changing packages,..

    To see how a .gitignore file can be created and managed, you can find a question and the correct answers to it on Stackoverflow.

    git – how to create a .gitignore file

    Login or Signup to reply.
  3. The issue is with iCloud sync, try turning that off

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search