24
Cyanide
3y

git stash is ❤️

Comments
  • 3
    Git pull
    Sorry clear your project folder
    Git stash
    Git pull
    Git stash pop
  • 1
    Weirdly I used to think that too, but I moved on from it and barely ever use it anymore, though this may be preference.

    The reasons for me are:

    1. Stash is not saved as an individual commit, though there is a stash stack, but it's basically a small convenience tool which however operates outside the idea of version control

    2. You can easily fall into the trap of not stashing new files

    3. Whenever I need to quickly store my progress I just commit and just drop the commit later on while keeping my changes

    4. Also branching

    It's kinda interesting, I used to be a heavy git stash user
  • 0
    @jak645 Exactly. Just fucking beautiful.
  • 1
    @Maer Well, I am a “git stash” fresher, so let’s how it pans out.
  • 2
    git itself is already glorious.

    But in combination with tig (especially the staging view) it becomes almost a superpower.
  • 2
    Git in general <3
  • 1
    I recently found out about git stash.
    I use it while collabrating with people trash :)
  • 1
    Git stash? Is that a templating engine for git?
  • 1
    Just to be sure: If you love `git stash` and have not yet looked at `git worktree add`, then do it right now.

    You're welcome.
  • 1
    @harahara My man rhyming here!
  • 0
Add Comment