> > There is a problem with changes on the working copy which are not
> > committed or stashed. Pulling the repo often fails with the following:
> >
> > C:\pwb\compat>git pull "origin" master -v --progress
> > From https://gerrit.wikimedia.org/r/pywikibot/compat
> >  * branch            master     -> FETCH_HEAD
> > Updating f9f28e8..9fe0bc2
> > error: Your local changes to the following files would be overwritten by
> > merge:
> >         externals/__init__.py
> > Please, commit your changes or stash them before you can merge.
> > Aborting
> >
> > svn merged it automatically if there where no conficts and if there where
> > some conflicts I could easy solve it. Any ideas for that flow with git?
> >
> 
> Untested, but you could try:
> 
> git stash
> git pull
> git stash pop
> 

Looks good to me. "git stash pop" unhides the changes and I again can easily 
see the modified files (with tortoisgit).

Thanks

xqt

_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to