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.
A deep dive into modeling money, currencies, and exchange rates using JavaScript.
Take a deeper dive into React's rendering process and understand the role of the Context API and Redux in it.
Creates a styled radio button with animation on state change.
JavaScript provides a handful of native data structures that you can start using in your code right now.
Learn how JavaScript handles mutable data, such as objects and arrays, and understand how shallow cloning and deep cloning work.