Search
Close this search box.

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 and you will see how straightforward GitKraken makes working with and saving file changes. Editing commit messages and amending your most previous commit is fast and intuitive and can be done directly from the main UI. You will also see how to use the magic of GitKraken to revert a Git commit with the legendary Undo button.

You will also learn how to use the Git commit command to save file changes to your repository using the command line. See step-by-step examples of performing a commit, including adding a Git commit message and amending a commit.

Additional Resources

Table of Contents

Make Git Easier, Safer &
More Powerful

with GitKraken

Visual Studio Code is required to install GitLens.

Don’t have Visual Studio Code? Get it now.

Team Collaboration Services

Secure cloud-backed services that span across all products in the DevEx platform to keep your workflows connected across projects, repos, and team members
Launchpad – All your PRs, issues, & tasks in one spot to kick off a focused, unblocked day. Code Suggest – Real code suggestions anywhere in your project, as simple as in Google Docs. Cloud Patches – Speed up PR reviews by enabling early collaboration on work-in-progress. Workspaces – Group & sync repos to simplify multi-repo actions, & get new devs coding faster. DORA Insights – Data-driven code insights to track & improve development velocity. Security & Admin – Easily set up SSO, manage access, & streamline IdP integrations.
winget install gitkraken.cli