Y
Hacker News
new
|
ask
|
show
|
jobs
by
sleepychu
1835 days ago
`git checkout` great for switching to a different commit
and
for throwing away local unstaged changes!
1 comments
nerdponx
1835 days ago
Using `git checkout` with a filename really really really should have a yes/no prompt by default, or at least an `-i` option like `rm`.
link
sleepychu
1834 days ago
I think `git switch` is an attempt to resolve this
link