Git STASH Tutorial

Published: 10 January 2023
on channel: The Modern Coder
27,774
994

Learning any Git technique can be this easy: https://learngit.io/

-----

What is the Git stash command, and how do you use it? Git stash allows you to set aside in-progress changes for later. In addition to simply saving drafts of your work, stashes can be manipulated in interesting ways to improve your Git workflow. In this tutorial I'll explain how to use Git stash (including common commands such as "git stash pop", "git stash list", "git stash show", "git stash drop", "git stash clear", and "git stash branch"). As always, I'll illustrate the concepts with live animations alongside the actual commands.

WRITTEN ARTICLE & REFERENCE: https://www.themoderncoder.com/git-st...
GIT STARTER GUIDES: https://www.themoderncoder.com/git/

CHAPTERS
0:00 Intro
0:15 Git stash use-cases
1:12 Git stash: basic example
3:26 Multiple stashes & naming stashes
5:16 Git stash branches
6:00 Deleting stash entries
6:20 Git stash merge conflicts

MY TECH
2020 M1 MacBook Air (I have the 512GB variant): https://amzn.to/3TTIBsE
AirPods Pro: https://amzn.to/3sRLUo5
Chair: https://amzn.to/3zJI9Fa
Gaming headset: https://amzn.to/3zwbT8i
Headphones (newer model): https://amzn.to/3Ub5reT
Keyboard: https://amzn.to/3FOOOC7
Mouse: https://amzn.to/3WhMFV9
Monitor: https://www.dell.com/en-us/work/shop/...
Monitor arm (newer model): https://amzn.to/3gXnlUa
Webcam: https://amzn.to/3zxxwp0

TECH ACCESSORIES
Laptop stand: https://amzn.to/3NuyqZ5
Mouse pad/mat: https://amzn.to/3U9QFVO
KVM switch: https://amzn.to/3gZmpP0
PC case: https://amzn.to/3Fx4Hg5
Under desk drawer: https://amzn.to/3WloFAo

VIDEO GEAR
Camera: https://amzn.to/3WkbiRe
Lens: https://amzn.to/3zxiTC4
Microphone: https://amzn.to/3SSUoWE
Main key light: https://amzn.to/3WhZbny
Secondary light: https://amzn.to/3fpRefx

Some of the links above are affiliate links which means, at no extra cost to you, I will make a small commission if you click them and make a qualifying purchase. Thanks for supporting the channel.

MUSIC CREDITS
Music from Uppbeat (free for Creators!):
https://uppbeat.io/t/danijel-zambo/st...
License code: FC7DKHETA2DJGCMY

ICON CREDITS
Icons from Flaticon

ABOUT ME
An experienced tech professional with experience including software engineering management, and software engineering. Formerly at Amazon for over 6 years, and currently living in NYC.

FOLLOW
Blog: https://www.themoderncoder.com
Twitter:   / themoderncoder  

#git #linux #programming #github


Watch video Git STASH Tutorial online without registration, duration hours minute second in high quality. This video was added by user The Modern Coder 10 January 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 27,774 once and liked it 994 people.