xcode - git trying to commit thousands of files -
i trying commit changes project in xcode 4.6.3 have used source control -> commit mechanism several times , worked beautifully added dcroundswitch objects project (https://github.com/domesticcatsoftware/dcroundswitch) when try commit changes, xcode hangs loooong time tells me wants commit 100,875 files (in past commits ran between few , few dozen files), , every crashes out. tried doing commit no avail.
it appears git trying commit files in linked libraries, in addition source files. not attempting prior adding dcroundswitch files
i went online , read .gitignore files , created 1 in project directory (not git subdirectory of project directly)...it had no effect on behavior
fwiw, content of .gitignore file below.
any appreciated
#xcode .ds_store */build/* *.pbxuser !default.pbxuser *.mode1v3 !default.mode1v3 *.mode2v3 !default.mode2v3 *.perspectivev3 !default.perspectivev3 xcuserdata profile *.moved-aside deriveddata .idea/ *.hmap #cocoapods pods
you can try this:
from command line "git reset" reset git without touching file system. you'll need git add file name re-add files trying add before.
Comments
Post a Comment