Not sure how this started. I updated my gitconfig to include remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*, which is when this started. Removing this from my git config does not fix the issue.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Hey, thanks for the report. It looks like Cursor isn’t seeing the git repository after changing remote.origin.fetch, so @Git is empty and commit generation gives “No contents found”.
Could you please share:
Output of git status in the terminal inside the project (does it show changes?)
Source Control panel Cmd+Shift+G - are changes visible there?
Cmd+Shift+P → “Git: Show Git Output” - any errors related to repository detection?
Help > Toggle Developer Tools > Console - screenshot of “git” errors
Also check:
Try opening a clean profile: /Applications/Cursor.app/Contents/MacOS/Cursor --user-data-dir=/tmp/cursor-test and open the same project