I am on the main branch, and I have some changes I want to move into it in another branch called "temp". How can I move the changes into main, without making a commit?
I know I can use checkout to switch to "temp", but I want the changes to be in my files without moving a branch, and I don't want to reset to temp because that moves the head. I tried looking at the manual for restore but it didn't seem like it could restore from another branch.
Any help will be appreciated.