Xcode Git issues with Google Drive/Dropbox

Apparently XCode should recognize a git repo automatically, but after doing git init and my initial commit, XCode is not seeing the repo. I have my entire project and git repo in Google Drive, and I suspect that is causing some issue? What do I have to do to get XCode to read .git files in Google Drive?


  • How to ignore error on git pull about my local changes would be overwritten by merge?
  • What does git log --all do?
  • error: The requested URL returned error: 403 Forbidden while accessing
  • Using a different application to colourize diff output in git
  • Why 'git log' is empty even if log file exists?
  • What user will Ansible run my commands as?
  • I tried doing a git init, add and commit to a project in my local drive and XCode still didn’t recognize the git store, so this may not be a G Drive/Dropbox issue.

  • how can I do a git pull in the gitg / gitx visual tool?
  • Deriving maven artifact version from git branch
  • Get the branch name pointed at by HEAD in a remote repository without cloning the remote
  • After merge, how does the commit ID of a merged file (no conflicts) change?
  • magit-grep, how to include or exlude file extensions?
  • Can someone explain this interesting git merging behaviour
  • One Solution collect form web for “Xcode Git issues with Google Drive/Dropbox”

    Don’t put a Git repo on Dropbox or Google Drive. It is terrible. Dropbox, on sync, can scramble all git’s internal files and screw it up your whole repository.

    Instead, use a Git service. For something private, I recommend BitBucket.


    Imagine you put your main repository on Dropbox. You sync your dropbox in another computer and pushes to it. The connection drops from that computer. You go to other computer, make another commit and pushes into the main repository. Everything goes fine.

    Dropbox starts to sync in this computer. At the same time, the other computer starts to sync, too. But internally, there are lots of different files on the repo. How Dropbox knows how to keep and organize these files?

    Simple answer: it doesn’t. It will damage your repository, and that’s nothing you can do about it. And this is not some kind of “it will almost never happen”. It will happen, very soon.

    And about the real question:

    I never used Xcode, but I had similar issues with Eclipse. It’s simple, though: Xcode does not know about the repo because you did not tell him that is a repo. To see how to do that on Xcode, you could see here.

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