简体   繁体   中英

Xcode: Enable Create Git Repository after disabling it

Like the Title already says:

I created a Xcode Project and i accidentally disabled : "Create Git Repository"

Does someone know, if i can enable it again ? I don't want to delete this project and start from the beginning again

This button basically does git init .

So just call git init in your Terminal in the relevant project folder. Afterwards you can add remotes and do commits and pushes. Xcode will recognize the repository automatically.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM