Xcode 4.6 won't let me push my project to a git repo

I’ve started a new project in Xcode (a command line app using C++), and am encountering a problem I haven’t had in my other projects: I can successfully commit files, but can’t push them to the repo, under the pretence that the changes haven’t been committed yet (which they have).

There’s a question here with the same issue, but none of the answers there solve my problem. In the organizer, under the remote repo I’ve set up, the commits show up, comments and all, but I still can’t manage to push them to the remote repo.

  • Git: How to ignore fast forward and revert origin to earlier commit?
  • Git commit list
  • How to link to a Git commit in Redmine after pushing
  • How to get back to the last commit after making some changes?
  • Can git commit “empty versions” of new files?
  • Git graph log of only a few commits
  • EDIT: I’ve seen another question where the issue was that the asker was trying to push to a non-bare repository. My repo was completely bare.

    EDIT 2: I’ve managed to commit and push without any hiccups from the UNIX terminal. Still can’t figure out how to do it directly from Xcode, though.

    Has anyone experienced this problem, and found a solution?

  • How to handle Gemfile.lock with local gem repositories?
  • project organization for managed editions
  • Share a working tree with git submodules
  • Installing Git on Cygwin says Makefile recipe failed
  • Eclipse Egit will not import repo in workspace
  • How can I get a side-by-side diff when I do “git diff”?
  • One Solution collect form web for “Xcode 4.6 won't let me push my project to a git repo”

    After using the command line git to commit and push the changes to my remote repo, I restarted my computer. Now, everything seems to work fine.

    Git Baby is a git and github fan, let's start git clone.