How do I configure Git in Xcode to work with BitBucket

I’ve met the same problem and here’s how I solved it:

  1. (Assume your project is not already under local source control) Create a new project under LOCAL source control (Please note that adding remote source control at this stage may not be successful)

  2. Make this new project a clone of your old project – drag files, add frameworks, etc.

  3. In menu “Source Control” -> -> “Configure ”
    In the new window, click on “Remotes” -> “+” -> “Add Remote”

    • Name: anything (you can use “BitBucket”)

    • Address: https://accountname@bitbucket.org/accountname/reponame.git

  4. “Source Control” -> “Commit”

  5. Select “push to remote” at the left bottom corner

  6. Click “Commit”

  7. Check on BitBucket website to see if it’s actually pushed to it

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)