More Git
Git offers several advanced features to manage complex scenarios, including hard resets with git reset, reverting changes with git revert.
Git offers several advanced features to manage complex scenarios, including hard resets with git reset, reverting changes with git revert, reordering commits with git rebase, merging in new changes with git merge, squashing commits into a single change, temporarily saving uncommitted changes with git stash and then applying them with git stash apply, and selectively picking specific commits from one branch to apply on another with git cherry-pick.
Learn more from the the following resources:
- article@Resetting, checking out & reverting
- @article@Git Reset and Revert Tutorial for Beginners
- @article@Git Rebase vs Merge vs Squash: Choosing the Right Strategy for Version Control
- @article@Git stash
- article@Git cherry pick
- @video@How To Squash Your Git History Like A Pro
- @video@Git cherry pick tutorial. How to use git cherry-pick.
Free Resources
official: