Answer the question
In order to leave comments, you need to log in
How to use GIT version control in Xcode?
It seems like when I created the project, I chose "Use GIT on my Mac".
If I break my program and want to "roll back to the day before yesterday" - how do I do it?
Answer the question
In order to leave comments, you need to log in
you only initialized your repository so that you can return to the state (for example, the day before yesterday), you need to commit (like a snapshot of the current state) at that moment (the day before yesterday). To commit, select the menu item Source Control -> Commit , a window will appear where changes in the code will be visible, and below there will be a field for entering a commit message. Here you need to enter a meaningful short text that will indicate the state of the code (what features have been added, what has been fixed, etc.). Then just confirm your commit and a new entry will appear in the history ( Source Control -> History).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question