I tried to save in the stash the current state of work, change to another branch, make a change in another branch, commit that other change.
Up here well.
But when I try to return to the state I had saved in the stash, it gives me a conflict.
~/t> git stash
Saved working directory and index state WIP on 2: 29f32ca noFuncionaEnvioUDP
HEAD is now at 29f32ca noFuncionaEnvioUDP
~/t> git checkout master
Switched to branch 'master'
~/t> echo cambiado > envioUDP.cpp
~/t> git add .
~/t> git commit -m Terminado
[master b340cd7] Terminado
1 file changed, 1 insertion(+), 1237 deletions(-)
~/t> git stash pop
Auto-merging envioUDP.cpp
CONFLICT (content): Merge conflict in envioUDP.cpp