<div dir="ltr"><div>Thanks for the explanation. Do you know where the changes to files under  l10n came from?  Shouldn't those have been removed with a git reset e.g. l10n/fr/files_encryption.po<br><br></div>I am new to git but have used bazaar, cvs and clearcase. <br>

</div><div class="gmail_extra"><br clear="all"><div>Tarun</div>
<br><br><div class="gmail_quote">On Thu, May 30, 2013 at 9:32 PM, Robin Appelman <span dir="ltr"><<a href="mailto:icewind@owncloud.com" target="_blank">icewind@owncloud.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="HOEnZb"><div class="h5">On Thursday 30 May 2013 21:03:22 Tarun Khanna wrote:<br>
> When I try to pull the latest changes from the master dev branch I get an<br>
> error due to modifications in my local branch. This are not the changes<br>
> that I made but those that were introduced by owncloud configuration I am<br>
> guessing.<br>
><br>
> error: Your local changes to the following files would be overwritten by<br>
> merge:<br>
>         core/l10n/ru.php<br>
>         l10n/af_ZA/core.po<br>
><br>
>         l10n/fr/files_encryption.po<br>
> error: The following untracked working tree files would be overwritten by<br>
> merge:<br>
>         core/js/jquery-1.10.0.min.js<br>
>         core/js/jquery-migrate-1.2.1.min.js<br>
> Please move or remove them before you can merge.<br>
> Aborting<br>
><br>
><br>
> I tried getting rid of the changes using 'git reset' and 'git checkout' but<br>
> nothing seems to work. I keep getting the above error whenever I try to<br>
> update.<br>
><br>
> What is the recommended way to update the branch?<br>
><br>
> Tarun<br>
<br>
</div></div>This REMOVES any changes made to all files tracked in git and all untracked<br>
files not in .gitignore and resets everything to the last commit<br>
<br>
    git clean -f && git reset --hard HEAD<br>
<br>
If you want to reset to master you can use<br>
<br>
    git clean -f && git reset --hard origin/master<br>
<br>
If you want to know what untracked files will be removed before you<br>
accidentally remove all your hard work you can use.<br>
<br>
   git clean -n<br>
<span class="HOEnZb"><font color="#888888"><br>
 - Robin Appelman<br>
_______________________________________________<br>
Owncloud mailing list<br>
<a href="mailto:Owncloud@kde.org">Owncloud@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/owncloud" target="_blank">https://mail.kde.org/mailman/listinfo/owncloud</a><br>
</font></span></blockquote></div><br></div>