Split a Git commit into multiple commits
Altering Git history to split a commit sounds intimidating, but it's not that hard. Let's walk through the process step by step.
Browse snippets by collection or check out our top picks and latest articles below.
Altering Git history to split a commit sounds intimidating, but it's not that hard. Let's walk through the process step by step.
Looking for the merge commit where the changes from a given commit were merged into a branch? Here's how you can find it.
Increase your productivity and reduce your cognitive load by creating aliases for many common git operations.
If you find yourself needing to fix a previous commit, you can create a fixup commit that can be autosquashed in the next rebase.
Reorder, squash, and edit commits interactively using Git's interactive rebase feature.
Tired of manually specifying the remote branch name when pushing? Configure Git to use the current branch name as the default.
A linked list is a linear data structure where each element points to the next.
Creates a horizontally scrollable image gallery.
Take a deeper dive into React's rendering process and understand the role of the Context API and Redux in it.
Testing React components that update asynchronously is pretty common. Learn how to deal with common issues and speed up your testing.
Creates a horizontally scrollable image gallery.
Creates a card that shifts on hover.