Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Git Stash Tutorial - Save Changes Without Committing - Day 14

Rahul Wagh via YouTube

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

Reviews

Start your review of Git Stash Tutorial - Save Changes Without Committing - Day 14

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.