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 graph is a data structure consisting of a set of vertices connected by a set of edges.
Renders a checkbox list that uses a callback function to pass its selected value/values to the parent component.
Easily remove duplicates from a JavaScript array using the built-in Set
object, and learn a few other tricks along the way.
The Event Loop is a source of confusion for many developers, but it's a fundamental piece of the JavaScript engine.
There are many ways to iterate and transform array data in JavaScript. Learn how each one works and where you should use them.
Creates a styled checkbox with animation on state change.