4 ms·
The `git stash` is useful but that by default status doesn't show anything related to stashed changes makes it easy to forget you have them. Can replace stash w
by forgotpwd16 4y ago
The `git stash` is useful but that by default status doesn't show anything related to stashed changes makes it easy to forget you have them. Can replace stash workflow with commit, branch, etc and have one less thing to think about.
- ilyt 4y agoI mean I can configure my shell correctly so that isn't a problem in the first place -> ᛯ date >> asd [23:57:10] ^ [/tmp/a] {master *} -> ᛯ git stash Saved working directory and index state WIP on master: bf5a0f8 fix [23:57:13] ^ [/tmp/a] {master $} -> ᛯ git pop On branch master Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory) modified: asd no changes added to commit (use "git add" and/or "git commit -a") Dropped refs/stash@{0} (4f46bc00a3d6032c2726f04540a44656090e05ca) [23:57:16] ^ [/tmp/a] {master *} -> ᛯ it's pretty non-missable (git pop is just alias to stash pop)