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:
- add git ignore file project tree.
- 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
Post a Comment