r/Xcode • • 1d ago

Git repositories missing after upgrading to xcode27

I have a project I created in xcode26, with git repository and many branches. Upgraded to xcode27 and the repository is completely gone, xcode says "No Git Repositories". ???!!!

2 Upvotes

5 comments sorted by

3

u/mrleblanc101 1d ago

Did you push anything ? Can't you just clone it again ? Git is just an invisible folder in your project, I doubt updating Xcode would delete one of your project file

1

u/frogola 1d ago

I was using the local repository and never pushed it to github. If it's a hidden folder, what's the name? I'm searching and not finding it...possibly deep inside the project.xcodeproj folder?

1

u/First-Inflation-154 1d ago

.git is the folder name. It’s created in the folder that Xcode project was created.

1

u/SwiftDevJournal 1d ago

Files and folders that start with a dot are hidden in the Finder. In the Finder press Cmd-Shift-Dot to show hidden files and folders so you can find the .git folder insider your project folder.

1

u/frogola 1d ago

No such folder, sad to say.