Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] Bug in Switching?

I don't lose changes, it was just the files that i modified.. but I thought that we can't change if any modified exists.

With this someone can upload files in the wrong branch..

-------------------------------------
Marco Sousa


2012/11/13 Markus Duft <markus.duft@xxxxxxxxxx>
On 11/13/2012 08:59 AM, Marco Sousa wrote:
> I have the stable egit 2.1.
>
> I can switch branch also if I have modified files without commit or stash..

This is a GIT feature. It let's you take changes with you on branch switch as long as they don't cause conflicts. So as long as the same files are not modified in a commit that is switched to, this is not a problem.

Did you really loose changes, or was it just files that you modified, that where left alone on the target branch (this would be ok then)?

HTH, Markus

>
> It should don't me let change branch in order to prevent that your local changes are overwritten.
>
> Why I have this bug if in the forums especially says that you can't do that: http://www.eclipse.org/forums/index.php/t/369870/
>
>
> -------------------------------------
> Marco Sousa
>
>
> _______________________________________________
> egit-dev mailing list
> egit-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/egit-dev
>
_______________________________________________
egit-dev mailing list
egit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/egit-dev


Back to the top