What to do if Aptana Stuido 3 stops allowing you to commit to git?

I had the following problem:

I had been working on a project and wanted to commit my changes to git. When trying to commit (clicking Commands > Commit), it would let me type a message and add the files, however when I click Commit, the box closes but it doesn’t actually commit anything.

I was using Aptana Studio 3, build: on Windows 8.

It doesn’t display any error messages, however after some investigation I was able to resolve this issue. It turns out that git didn’t know my email address or name, which meant I couldn’t commit.

I resolved this by doing the following:

1. Exit Aptana Stuido and then use windows explorer and find the projects folder.

2. Right click the folder and select “Git Bash”.

3. Set my email address and name by typing the following:

git config --global user.email "email@address.com"
git config --global user.name "Firstname Lastname"

1 reply
  1. Daniel
    Daniel says:

    You made my day! I moved my project to another version of XAMMP and run into the same issue. Thanks for the post. Everything works fine again.


Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.