Nice video. I think you can mention that git stash -u can add all the files (tracked and untracked) without the need to perform git add . .
@AkinBelieve5 ай бұрын
Excellent. Very few can deliver technical information with this sort of precision. Please, please, please keep these coming.
@themoderncoder5 ай бұрын
Appreciate the compliment! These vids end up taking a ton of time to make, but I’m committed to keeping them going at least once a month. Hopefully I can find a rhythm for 2 a month, but we’ll see…
@zakariyajeffali6520Ай бұрын
@@themoderncoder *chuckles* "committed". I see what you did there.
@radvilardian740 Жыл бұрын
Bro, ur git videos is incredibly azing, This saves lots of times to learn those useful command and understanding how it works, very much appreciated bro, these are all meats..
@themoderncoder Жыл бұрын
Appreciate it man
@mehdizahedi28104 ай бұрын
Your videos are an absolute gem. Thank you
@Sudhakar-msr Жыл бұрын
Animated way of explaining the stuff really helps. keep going. looking forward for much more git topics. subscribed
@themoderncoder Жыл бұрын
Appreciate the sub!
@gadgetsexplain Жыл бұрын
Very useful teaching method
@roychang9506 Жыл бұрын
subscribed. your git tutorial is a gem please keep it up
@themoderncoder Жыл бұрын
Thanks! I'm releasing more Git videos, so I hope those help as well
@treequin Жыл бұрын
Awesome video! The animations and layout are superb, they made it all perfectly clear to me.
@themoderncoder Жыл бұрын
Awesome, appreciate you saying that
@FullMetalAlgorithmist7 ай бұрын
Hi, I have a question. Is the stack data specific to a particular branch, or is that stack stored globally across all branches? If i do git stash in one branch, and then if i switch branch and pop the stack there, what will happen?
@themoderncoder7 ай бұрын
Stash's are one stack per repository. So if you create a stash on one branch, switch branches, then pop the stash, it'll apply those changes into the working directory.
@FullMetalAlgorithmist7 ай бұрын
@@themoderncoder Great, thanks!
@y-rp1wz2 ай бұрын
Please make a video about git auto commits that when we merge origin/dev into local beta Merge remote-tracking branch 'refs/remotes/origin/dev' into beta
@knecks73745 ай бұрын
Absolutely Awesome Big man! thanks
@alitahboub4932 ай бұрын
Great video!!
@juanandrew1356 Жыл бұрын
easy to understand, thanks sir
@juandavidcardenas1253 Жыл бұрын
Thanks a lot, It´s very useful. I was thinking how if you don't know the different git features like this, you might miss out on being more productive.
@themoderncoder Жыл бұрын
True, very much agree
@harikrishnan99675 ай бұрын
Hi bro i have one issue while cherry pick what is happening na example my bug fix is in fix1 branch which dev branch and i need to movie that in production branch so when i moved this thing in that prod branch it error while im compiling because of in prod old code is there and dev every person doing new changes are there my cherry pick changes are moved to some other lines so help me to resolve this bro
@themoderncoder5 ай бұрын
I'm not 100% sure I understood your question, but a suggestion would be to rebase your "fix1" branch against production BEFORE cherry picking. This would at least minimize the amount of conflicting changes.
@harikrishnan99675 ай бұрын
@@themoderncoder im not talking about conflict, after resolving the conflict while I'm compile it is showing some errors because of cherry pick is stored in wrong lines in files
@magic0x0 Жыл бұрын
Great tutorial 😮 Thank you 🙏🏻
@themoderncoder Жыл бұрын
You’re welcome 😊
@jacopopecchini22673 ай бұрын
das ist wunderbar
@daumtto6 ай бұрын
good explanation
@yssplays26204 ай бұрын
new subscriber. best explain very very very nice
@themoderncoder4 ай бұрын
Thank you so much 🙂
@nishikantwairkar68666 ай бұрын
too good
@gentjanshtjefni43685 ай бұрын
can i pop the stash on another branch?
@themoderncoder5 ай бұрын
Yeah go for it. Stash on one branch, switch branches, then pop/apply the stash. Should work fine
@OpenDeepLearning Жыл бұрын
I am curious about you and your career / mind. Why would you restart your KZbin account? I mean, I think you earned a lot of money working on Amazon, right?
@themoderncoder Жыл бұрын
The high-level reason is that KZbin is certainly not about the money
@OpenDeepLearning Жыл бұрын
@@themoderncoder but about what?
@user_account384110 ай бұрын
How to roll back when a stash is pulled off?
@themoderncoder10 ай бұрын
It's not so easy to undo an accidental stash pop. There are two things to undo: 1) The stash was dropped from your stash list and needs to be recovered. 2) You need to rollback the modifications in your working directory that were added by the stash. Step 1 can be solved using something like this to recover the stash: copyprogramming.com/howto/undoing-accidental-git-stash-pop. But for step 2, it might be a matter of manually using "git restore" to remove any modifications you don't want. If anyone here in the comments know's a better was for step 2, let us know.
@stuck1a7 ай бұрын
I dont get it why everyone want to use all that time-consuming and confusing version control systems. Back in the 90s we were also able to work in teams without all that fancy things. It's so annoying to spend hours to solve dozens of conflicts before each pull request. After all, imho it just promotes chaos, so that everyone just codes whatever he wants instead of coordinating properly