0

Sometimes I make an unneeded commit or a commit with a wrong message, how can I delete that commit in Xcode? I cannot find any delete option! How can I get rid of an unneeded commit, as shown below?

List of commits, one is circled and says "wrong commit"

ios coder
  • 1
  • 4
  • 31
  • 91
  • 4
    Xcode's source control options are rather limited, but you can always use the `git` command line interface or another GUI of your choice (GitHub Desktop, Tower, etc). This question and set of answers details many options for deleting a commit and their implications: https://stackoverflow.com/questions/1338728/delete-commits-from-a-branch-in-git – jnpdx Aug 22 '21 at 02:46
  • 1
    Does this answer your question? [Delete commits from a branch in Git](https://stackoverflow.com/questions/1338728/delete-commits-from-a-branch-in-git) – esqew Aug 22 '21 at 04:41
  • @esqew: I am looking to see if I could use and try that link, jnpdx also gave that link before. – ios coder Aug 22 '21 at 04:49
  • @ElTomato: As you see I am looking for delete – ios coder Aug 22 '21 at 04:50

0 Answers0