DEV Community

Rodolpho Bravo
Rodolpho Bravo

Posted on

Day-to-day GIT Guide

Situation 1:

You forgot to add some infomation on the last commit and don't want to create another new commit.

Solution:

git add .
git commit --amend --no-edit

This will add and commit your changes to the last commit, without asking you to create a new one.

Top comments (0)