I use Xcode 5.1.1. How do I edit a Git commit message?

Discussion in 'Mac Basics and Help' started by moonman239, Jul 12, 2014.

  1. moonman239 macrumors 68000

    Joined:
    Mar 27, 2009
    #1
    I just made a commit and wrote an incorrect message in the message box. How do I change it?
     
  2. mfram macrumors 65816

    Joined:
    Jan 23, 2010
    Location:
    San Diego, CA USA
    #2
    Not sure you can do it from the UI. But you can do it from the command-line. Open the Terminal and cd to the directory with your project. Then you can use 'git commit --amend'. You will have the opportunity to change the message.
     

Share This Page