Resolve Git Stash Merge Conflicts

  Рет қаралды 14,004

The Modern Coder

The Modern Coder

Күн бұрын

Пікірлер: 11
@kapilganwani1827
@kapilganwani1827 5 ай бұрын
This series on git commands is easily one of the most easiest I've found to follow, kudos!
@thisisreallyme3130
@thisisreallyme3130 Жыл бұрын
This helped TY. My use case didn't visually or exactly align with yours so I backed up my files, went with your instructions, and it worked. For other readers, before he creates the "git stash"... that's not shown, but what gave me confidence was: backup files, then git stash, then in my branch still I did "git branch -v" and "git show -1" to get the clean (committed) hash of where I was. then checkout main/master and "git pull" on that (just so I could have an up to date master to compare to), then switch back to my branch then did this video. Basically I wanted to be able to look at the hash IDs between branches, so I understood better that I could fast forward then pop my stash. Cheers
@surendrareddyGoluguri
@surendrareddyGoluguri Жыл бұрын
Good Explanation and animations are really helpful to understand the work flow process😊👍. Keep it up the good work😊. Thanks for uploading this video👍.
@themoderncoder
@themoderncoder Жыл бұрын
Thanks!
@aidoka2000
@aidoka2000 Жыл бұрын
awesome and neat and easy to follow explanation.
@tjmonkey15
@tjmonkey15 Жыл бұрын
Hugely helpful. Thank you!
@irfanrashid2114
@irfanrashid2114 9 ай бұрын
very helpful! thanks a lot for sharing
@gambarimas
@gambarimas Жыл бұрын
Hello. I have a question, are stashes linked back somehow to the commit where we were when we created them? What happens if I try to apply a stash in a commit that has completely new files?
@themoderncoder
@themoderncoder Жыл бұрын
Yes, Git does track which commit the stashes were originally created from. You can use the "git stash branch" command to check out files into a new branch that's anchored off that original commit.
@gambarimas
@gambarimas Жыл бұрын
@@themoderncoder Thanks for your answer. What about my second question?
@xxcrypt234
@xxcrypt234 Жыл бұрын
BRO thanks!
Delete Git Commits Tutorial
5:03
The Modern Coder
Рет қаралды 50 М.
Git STASH Tutorial
6:59
The Modern Coder
Рет қаралды 29 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 40 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 55 МЛН
Resolve Git MERGE CONFLICTS: The Definitive Guide
8:02
The Modern Coder
Рет қаралды 52 М.
Git merge and git conflicts
39:37
Hitesh Choudhary
Рет қаралды 25 М.
Resolve Git Cherry Pick Merge Conflicts
5:52
The Modern Coder
Рет қаралды 45 М.
How Git Changed Programming Forever
9:13
JetBrains Academy
Рет қаралды 2,6 М.
Git MERGE vs REBASE: The Definitive Guide
9:39
The Modern Coder
Рет қаралды 132 М.
10 Must Know Git Commands That Almost Nobody Knows
15:22
Web Dev Simplified
Рет қаралды 96 М.
Git CLONE, PUSH & FETCH Tutorial
9:09
The Modern Coder
Рет қаралды 6 М.
The HIDDEN Git Trick for Resolving Merge Conflicts
8:48
DevOps Toolbox
Рет қаралды 20 М.
5 (questionably useful) Git tips
8:11
The Modern Coder
Рет қаралды 1,8 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН