Create a fixup commit in Git
If you find yourself needing to fix a previous commit, you can create a fixup commit that can be autosquashed in the next rebase.
Browse snippets by collection or check out our top picks and latest articles below.
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.
Learn how to find lost files and commits in a Git repository.
Did you accidentally commit sensitive information? Learn how to completely purge a file from Git history.
Learn how to view a list of all local or remote branches in a Git repository.
Learn common number formatting operations, such as rounding, padding, optional decimal marks, currency, seconds, bytes, and more.
The Event Loop is a source of confusion for many developers, but it's a fundamental piece of the JavaScript engine.
Discover the inner workings of JavaScript arrays and learn about the different ways to initialize them.
Creates a card that shifts on hover.
Creates a horizontally scrollable image gallery.
Renders a Modal component, controllable through events.