Git stash tutorial. How to save changes for later in git.

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 52

  • @franciswayungi3519
    @franciswayungi3519 2 года назад +5

    I find your tutorials straight to the point and easy to follow. Great work & many thanks

  • @manoharmaddula6700
    @manoharmaddula6700 Год назад

    Your tutorials never waste my time,Thanks :)

  • @tvguideondemand
    @tvguideondemand 4 года назад +17

    This is exactly what I was looking for! I'm so glad this exists. Thank you.

    • @Ihatetomatoes
      @Ihatetomatoes  4 года назад

      Great, thanks for letting me know Michael!

  • @cruepprich
    @cruepprich 2 года назад +1

    Quick and dirty explanation. Just the way I like it. I haven't used stash seriously, but will now seriously us stash.

  • @ivonnebenites3308
    @ivonnebenites3308 Год назад

    Thank you so much for sharing your knowledge, the tutorials are very clear 🙏🏿

  • @xx482
    @xx482 3 года назад

    you are just like friend who helps me when there is anything to learn.... thanks

  • @dasrotrad
    @dasrotrad 2 года назад

    My first use of stash... So I could switch to master branch and delete the develop branch. AND It worked! I'll be using git stash to create a new branch next. Thank you.

    • @Ihatetomatoes
      @Ihatetomatoes  2 года назад

      No worries Robert, great to hear it was useful.

  • @sanazbahmani6447
    @sanazbahmani6447 2 года назад +1

    I'm always forgetting to make new branches, so I do use stashes all the time :))

  • @pythontek
    @pythontek 2 года назад

    Easy to follow and straight I liked it.

  • @chai2prince272
    @chai2prince272 2 года назад

    Thank you very much! Short and to the point!

  • @AjmalRiyaztechi
    @AjmalRiyaztechi 2 года назад

    Simple, clear and more useful. Good content.

  • @alexandrusima6377
    @alexandrusima6377 2 года назад

    Very useful tutorial. Thanks a lot

  • @RdozeTV
    @RdozeTV 2 года назад

    Can you do a video of workflow. What if you have multiple feature branch that you are working with. What is the best practice to push it and like test it separately what is the best approach.

  • @lalit659thakur
    @lalit659thakur 2 года назад

    Great session, Thanks

  • @oswaldogvzla
    @oswaldogvzla 3 года назад +2

    This command is very useful, thanks for posting. Now, i'm using "git stash"

  • @alexwillenbrink8069
    @alexwillenbrink8069 2 года назад

    This is beautifully concise. Thank you so much for putting this together!

  • @daniyalakram4760
    @daniyalakram4760 2 года назад

    Awesome Explanation

  • @MrTouqeerhameed
    @MrTouqeerhameed 3 года назад

    This is exactly what I was looking for!

  • @valeriysergeyev5766
    @valeriysergeyev5766 3 года назад +1

    Hey, cool video! I love the way you've presented this! Keep it up! 😎

  • @wandering_dz
    @wandering_dz 4 года назад +1

    i'm using. Thanks for lesson!

  • @charlesh139
    @charlesh139 2 года назад

    Thanks Petr.

  • @AdityaSingh-kw8bi
    @AdityaSingh-kw8bi 3 года назад

    best tutoria; on internet

  • @mikhailratner4649
    @mikhailratner4649 2 года назад

    Thank you, this helped a lot!

  • @threeone6012
    @threeone6012 3 года назад

    Awesome video! Deserves more hits.

  • @ftnsco
    @ftnsco 4 года назад

    Hey man, I think you'r tagline the guy who hates tomatoes is a little dated now, perhaps something with less hate? Your content is amazing, very clear and easy to follow. Thank you for that.

    • @ftnsco
      @ftnsco 4 года назад

      I probably shouldn't have said that since I just realized that the name of the channel is ihatetomatoes haha. Sorry man. You good.

    • @Ihatetomatoes
      @Ihatetomatoes  4 года назад

      Haha, no worries. Thanks for the suggestion Eri, I will keep that in mind.

  • @daveflash12
    @daveflash12 2 года назад

    Very useful, thank you so much!

  • @hasmatali476
    @hasmatali476 4 года назад

    Hi I am Ali from India, follow you and watch all your videos😊

  • @AdamVigas
    @AdamVigas 2 года назад

    Czech Republic ? :D anyway, great video..i learned much from it.

  • @muhammadabdullah4747
    @muhammadabdullah4747 3 года назад

    yes we are using stash

  • @aditya-garg
    @aditya-garg 2 года назад

    Hello, Can you pls explain how conflicts are handled by git stash pop and git stash apply? I observe that they are aborted if there are conflicts in SAME branch, however pop/apply in another branch generates the conflict file.
    Further, post editing the conflict file to resolve conflicts,does one need 'git add' followed by 'git commit -m' , there seem to be issues if attempting the 2 in one go using 'git commit -a -m'?

  • @Si_Mia
    @Si_Mia 3 года назад

    very helpful, thanks

  • @riankrishandi
    @riankrishandi 3 года назад

    thank you for sharing!

  • @ripplesr5655
    @ripplesr5655 3 года назад

    Thank you so much!!

  • @srivyshnavikoduri8652
    @srivyshnavikoduri8652 3 года назад

    Can you explain how submodules in git work?

  • @matarloum2894
    @matarloum2894 3 года назад +2

    How to have that custom theme in terminal ?

    • @prasannakumar7035
      @prasannakumar7035 3 года назад

      use zsh and on-my-zsh on top of zsh to get those . github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH and github.com/ohmyzsh/ohmyzsh

  • @westfield90
    @westfield90 3 года назад

    Can I use this if I have a conflict in a Pull Request. So can save my changed files to stash and the update my working directory with the latest master. Then bring back my stash files.

  • @daniellaerachannel
    @daniellaerachannel 4 года назад

    awesome Petr! Thanks

  • @lindahsu5236
    @lindahsu5236 3 года назад

    I tried to apply or delete the stashed files but I keep getting 'refname 'stash' is ambiguous.' Any idea why?

  • @berkaydemirci
    @berkaydemirci 2 года назад

    "git stash show 0" doesn't work for me i have to write "git stash show stash@{0}" instead, how do you make it so you can just type 0 without stash@ part?

  • @FilipPandrc
    @FilipPandrc 3 года назад

    at 4:20 instead of "Saved working directory and index state on...: I get "No local changes to save"

  • @carlosdelamorenacoco8715
    @carlosdelamorenacoco8715 3 года назад

    you saved my ass, thank you

  • @RonelGonzales5
    @RonelGonzales5 4 года назад

    thanks

  • @akashshrestha01
    @akashshrestha01 3 года назад

    great

  • @testlocalhost7926
    @testlocalhost7926 3 года назад

    you didn't show : how to have changes in the same branch when you reopen it😩😩😩

  • @Seacrest.
    @Seacrest. 3 года назад +1

    dislike! I love tomato!