by xk3·1y ago·view on hn ↗> 2. Avoid `reset --hard` at all costsSounds like you might be looking for `git reset --keep`