Skip to content

Commit

Permalink
Update 20.git-rebase-edit.md
Browse files Browse the repository at this point in the history
  • Loading branch information
navarroaxel authored Sep 27, 2024
1 parent da10fb7 commit c86e858
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions posts/navarroaxel/20.git-rebase-edit.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: A step-by-step guide to splitting commits using Git rebase
published: true
description: Learn why and how to split commits to keep your Git history clean and organized. Whether you're backporting hotfixes or simply aiming for more readable commit history, this step-by-step guide has got you covered.
description: Learn why and how to split commits to keep your Git history clean and organized. Whether you're backport hotfixes or simply aiming for more readable commit history, this step-by-step guide has got you covered.
tags: 'git, bash, productivity, tooling'
cover_image: ./assets/git-rebase-edit.png
id: 2015782
Expand Down Expand Up @@ -45,7 +45,7 @@ git commit -m 'fix grid responsiveness'
git rebase --continue
```

Git will continue running the second `exec` command that makes an `npm test`. If this fails you will need to fix your code; otherwise Git will continue with the `break` command returning the control of the shell to you again. Here you are able to run your application, make the final checks, etc.
Git will continue running the second `exec` command that makes an `npm test`. If this fails you will need to fix your code; otherwise Git will stop at the `break` command returning the control of the shell to you again. Here you are able to run your application, make the final checks, etc.

If you're happy with the changes, run `git rebase --continue` to finish the rebase, or `git rebase --abort` to cancel all changes. 👀

Expand Down

0 comments on commit c86e858

Please sign in to comment.