I was wrong about git stash...

I was wrong about git stash...

239.274 Lượt nghe
I was wrong about git stash...
I always used a git stash based workflow when I quickly need to switch branches. In newer versions of git (since 2015), the git worktree command lets you check out multiple branches at the same time. Get my awesome interactive git cheatsheet as soon as it's released here: https://philomatics.com/git-cheatsheet/ My Top 10 git shortcuts: https://youtu.be/CAnQ4b0uais My video on git rebase https://youtu.be/DkWDHzmMvyg Fixing merge conflicts: https://youtu.be/DloR0BOGNU0 Video on `git pull --rebase`: https://www.youtube.com/watch?v=xN1-2p06Urc How to change your default editor in git: https://youtu.be/CAnQ4b0uais?t=131 Use the following command to change your default editor to VSCode: git config --global core.editor "code --wait" If you use a different editor, just Google "git set text editor to $yourEditor", it's usually easy to find. The git GUI client I use in this video: https://www.sourcetreeapp.com/ 0:00 - Typical git stash workflow 0:29 - Multiple working copies 1:06 - Real life example 4:31 - Other use cases LEGAL DISCLAIMER ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Everything here is for informational purposes only. All non-licensed clips used for fair use commentary, criticism, and educational purposes. See Hosseinzadeh v. Klein, 276 F.Supp.3d 34 (S.D.N.Y. 2017); Equals Three, LLC v. Jukin Media, Inc., 139 F. Supp. 3d 1094 (C.D. Cal. 2015).