• BlueBockser
    link
    fedilink
    arrow-up
    17
    arrow-down
    1
    ·
    1 year ago

    I think git clean is more appropriate. With git stash you create a stash which you then have to drop.

    • HairHeel
      link
      fedilink
      arrow-up
      38
      ·
      1 year ago

      Who says you have to drop it? I’ve got stuff from 2007 in there somewhere.

      • BlueBockser
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        1 year ago

        Of course you don’t have to, but if you don’t plan on ever using it then it’s just trash living in your git folder. If you do plan on using it again in the future, then it’s usually better to make it a branch so you can push it to a remote.