when u wanna switch to other branch, but there is staged file that u do not commit

you can use git stash

If wanna know more detail, check it out ↓
https://git-scm.com/docs/git-stash

Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account log in.