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

well git checkout basically is confusing because it does two things at once.

git restore and git switch basically tries to seperate the functionality.

i.e. from: "git-checkout - Switch branches or restore working tree files"

to

- "git-switch - Switch branches"

- "git-restore - Restore working tree files"

tbf I found it really stupid from the beginning that it tries two things at once.



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

Search: