I managed to create a snapshot for my project in Xcode 4.5.1. But now the same project just tells me that:
Unable to create a snapshot error: Malformed value for push.default: simple error: Must be one of nothing, matching, tracking or current. fatal: bad config file line 21 in /Users/oppih/.gitconfig
I remember that when I clicked another project on github ealier, I was prompted with this warning:
warning: push.default is unset; its implicit value is changing in Git 2.0 from 'matching' to 'simple'. To squelch this message and maintain the current behavior after the default changes, use: git config --global push.default matching To squelch this message and adopt the new behavior now, use: git config --global push.default simple
So, I searched for it and found this question not so long ago: 13148066 , and it was installed, I use git config --global push.default simple , because "this is more intuitive behavior, so the default value changes to it".
I think that my problem with Xcode should have a connection to this update of the Git options.
Returning to Xcode, I did not choose to configure the Git repository in my Xcode project, but used a snapshot as a way to back up my code. I think there is a trick with Git in the Xcode snapshot, I cannot figure it out. Now I'm wondering, can someone tell me how to re-enable the snapshot in Xcode (without changing the .gitconfig [push.default] parameter)?
git xcode snapshot
oppih Nov 01 '12 at 12:35 2012-11-01 12:35
source share