The Most Addictive Python and SQL Courses
Power BI Fundamentals - Create visualizations and dashboards from scratch
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to master Git stash, one of the most practical commands in a developer's toolkit for handling work-in-progress changes without making incomplete commits. Discover how to safely shelve your current work when you need to switch contexts urgently, such as fixing a bug on another branch while deep in feature development. Explore the core problem Git stash solves by managing dirty working directories when task switching is required. Master the basic git stash command to save both staged and unstaged changes, and use git stash save with descriptive messages to make your stashes easily identifiable. Navigate your stash stack effectively using git stash list to view all saved work, and understand the critical difference between git stash pop (apply and delete) and git stash apply (apply and keep) for re-applying changes. Inspect stash contents before applying them using git stash show -p, and learn to include untracked files in your stash with the -u flag. Discover the powerful git stash branch command to transform a stash into its own feature branch, handle merge conflicts that may occur when applying stashes, and maintain a clean stash stack using git stash drop and git stash clear commands for proper housekeeping.
Syllabus
Git Stash | DevOps Master Course | Day-14
Taught by
Rahul Wagh