git - Source control - Ignore files when committing on Xcode -


there files (like break points list file -xcbkptlist) keep on emerging when commit code branch in xcode source control. have tried use git ignore in following way:

i've opened textedit , add following:

build/* .ds_store *.xcuserdatad *.xcbkptlist 

i saved file in root directory of project , named .gitignore files still emerged.

all needed make work:

  1. add git ignore file project tree.
  2. remove file don't want committed, commit , , add the
    file again.( files ignore still being tracked)

another way remove them git manually using:

    git rm --cached <files>          

Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -