The working copy <Project name> failed to commit files. – The repository has an uncompleted operation

I’ve just updated my Xcode from 6 to 7 (and code from Swift 1.2 to Swift 2.0) and try to create new branch in Xcode. After that I can’t push my code to Bitbucket.

Is there a way how can I delete repository from directory and setup Bitbucket again and maybe push to another (a new one) repository? Fix of this problem will be great, but I will be satisfied even with move to another repository.

  • Cannot login to SourceTree
  • Push destination error after doing a git clone
  • Don't understand forking
  • Channel is not opened Errors in automatic merge on Teamcity (git)
  • Configuring Jenkins with Bitbucket
  • Bitbucket: fatal: HTTP request failed when trying to clone Git repo
  • Git Sparse Checkout Leaves No Entry on Working Direcotory
  • Git - How to find all “unpushed” commits for all projects in a directory?
  • Git remote is ahead by one commit that I can't fetch locally or reset
  • Recovering deleted stash in GitKraken (windows 10)
  • Make change to a git submodule, and keep the changes
  • Git Remove remote history
  • 3 Solutions collect form web for “The working copy <Project name> failed to commit files. – The repository has an uncompleted operation”

    I had this error in xcode 7.1 on a year old project that was working fine. In my case I have a project with the default local repository created by xcode. For anyone who is not going to re-install and re-setup. It is possible to find out what the dangling command is and fix it from command line.

    To find the dangling command Open Terminal from the project directory:

    xcrun git status

    In my case the status returned:

    On branch master
    You are currently rebasing.
    (all conflicts fixed: run “git rebase –continue”)

    To fix the problem I used:

    xcrun git rebase –skip

    The problem was with installation of GitHub. I had a master repository. After reinstall and resetup everything works like before.

    In my case I ran git status which revealed that You are currently bisecting. (I was doing a bisect and must had forgotten to reset). I did a git bisect reset and attached the head to my latest commit and it was all fine afterwards.

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