Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> without stashing your changes

You can do reviews in a separate clone, to avoid interrupting any changes you're making (reading the diff only needs a 'git fetch', so won't interfere with anything; but making changes is easiest with a full check-out).

You could use 'git worktree' to manage that; but I'm happy with 'git clone' and 'rm -r'.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: