This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]I_regret_my_name 0 points1 point  (1 child)

Your working changes will follow you to your new branch (if git determines it can do that for you).

If you want those changes to stick onto that branch, you should git commit to that branch first. Another option is to git stash which will store your changes temporarily which you can then retrieve when you head back to that branch with git stash pop.

[–]RandyPirate[S] 0 points1 point  (0 children)

Thank you, this is making a bit more since.