3
Imagine I have a commit from a file in the master branch texte.txt. So I create a branch called teste2, I check it out and create a file called teste2.txt, but I don’t commit.
If I give a git checkout master and check the git status, it consists of the changes (in this case the creation of teste2.txt) as belonging to the master branch, even though I made these changes when I was on the branch teste2.
There’s a way to keep these changes in the branch teste2 without having to commit? Because I might not want to commit if I haven’t yet completed what I’m implementing.
Good answer! It was just what I was looking for. =)
– user7261