/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Oh Shit, Git?
(ohshitgit.com)
464 points
Anon84
| 1 comments |
16 Jan 25 18:24 UTC
|
HN request time: 0.199s
|
source
1.
meinersbur
◴[
17 Jan 25 14:09 UTC
]
No.
42737644
[source]
▶
>>42728916 (OP)
#
Avoid `git reset --hard` and `git clean -xfd`. To get a clean working-tree, use `git stash --all`. Allows restoring files if necessary. Saved my sorry bottom multiple times.
ID:
GO
↑