Timeline for How to unstash only certain files?
Current License: CC BY-SA 3.0
29 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 29, 2023 at 10:35 | answer | added | Jangwoong Kim | timeline score: 0 | |
May 22, 2023 at 19:03 | comment | added | NickDanger66 | dudewad, i would be much better to never have a "pile of broken code," and what's more, never branch. | |
May 14, 2023 at 17:12 | answer | added | abdella | timeline score: 3 | |
Feb 23, 2023 at 15:47 | comment | added | A_P | this is trivial in emacs magit mode, sorry command line people. It is literally 3 key presses | |
Dec 11, 2020 at 5:10 | answer | added | Vy Do | timeline score: 4 | |
Jun 20, 2020 at 15:10 | review | Close votes | |||
Jun 24, 2020 at 0:06 | |||||
Jan 15, 2019 at 15:43 | answer | added | Janac Meena | timeline score: 15 | |
Jun 7, 2018 at 8:31 | answer | added | Black | timeline score: 46 | |
May 16, 2018 at 12:12 | answer | added | LachoTomov | timeline score: 18 | |
Sep 19, 2017 at 11:18 | review | Close votes | |||
Sep 23, 2017 at 0:02 | |||||
May 5, 2017 at 20:12 | review | Close votes | |||
May 9, 2017 at 0:00 | |||||
Sep 7, 2016 at 2:15 | review | Close votes | |||
Sep 11, 2016 at 0:06 | |||||
Sep 7, 2016 at 1:56 | comment | added | Jeff Puckett | Possible duplicate of How would I extract a single file (or changes to a file) from a git stash? | |
May 23, 2016 at 3:27 | comment | added | joeytwiddle |
I thought it might be possible to patch an already changed file using git show stash@{0} -- <filename> | git apply --check but it keeps saying fatal: unrecognized input
|
|
May 11, 2016 at 1:26 | comment | added | dudewad | @alex Nothing. Nothing is wrong with git stash. Keep using it. | |
May 11, 2016 at 1:25 | comment | added | dudewad | @AbdouTahiri Uhhhh.. git stash is a legit feature, and extremely useful. I use it daily. Say, a coworker needs me to review something but I'm in the middle of a complex change set. I'm not going to commit a pile of broken code just so I can switch branches. I'm going to stash, switch branches, review, switch back, unstash. Do you care to elaborate on who or why git stash is supposedly "not recommended"? Just because your git stash history is muddied up and hard to read doesn't mean everyone elses is. A messy git stash set is just bad workflow, not a flaw of Git. | |
Mar 17, 2016 at 9:39 | comment | added | Abdou Tahiri | @alex With "git stash", you can have multiple different stashed things too, but they don't queue up on each other - they are just random independent patches that you've stashed away because they were inconvenient at some point. | |
Mar 17, 2016 at 9:16 | comment | added | alex | @AbdouTahiri What is wrong with the stash? | |
Mar 17, 2016 at 9:16 | history | edited | alex | CC BY-SA 3.0 |
edited title
|
Mar 14, 2016 at 18:41 | comment | added | Abdou Tahiri | Just in your future development, try to avoid stashing files commit them instead, because git stash is not recommended | |
S Nov 17, 2015 at 19:05 | history | suggested | jeyoor | CC BY-SA 3.0 |
minor grammar edit, added git-stash tag
|
Nov 17, 2015 at 18:42 | review | Suggested edits | |||
S Nov 17, 2015 at 19:05 | |||||
Mar 21, 2014 at 9:44 | answer | added | Balamurugan A | timeline score: 136 | |
Mar 7, 2013 at 16:05 | answer | added | Mike Monkiewicz | timeline score: 41 | |
Mar 7, 2013 at 6:48 | vote | accept | morpheus | ||
Mar 7, 2013 at 6:44 | answer | added | Ben Jackson | timeline score: 13 | |
Mar 7, 2013 at 6:39 | answer | added | VonC | timeline score: 691 | |
Mar 7, 2013 at 6:30 | comment | added | Richard | I think you have to apply the whole stash, but then you can selectively re-stash. | |
Mar 7, 2013 at 6:26 | history | asked | morpheus | CC BY-SA 3.0 |