Git Tutorials


Learn Git: How to Git Commit

Beginner Git Tutorial

How do you perform a Git commit? When you modify, add, delete, or rename a file in your local working directory, it is not immediately stored to your repository. This requires performing a commit.

Watch this beginner Git tutorial video to learn how to use the git commit command to save file changes to your repository. See step-by-step examples of performing a commit in the command line, including adding a Git commit message and amending a commit.

Then, compare the experience of working with and saving file changes by performing a commit in GitKraken, and see how intuitive it is to edit a Git commit message and amend your most previous commit. Finally, see how to use the magic of GitKraken to revert a commit with the legendary Undo button.