ext Boy Lenssen wrote:
> Hi,
> 
>  
> 
> I used this revert now. But I’ve checked out and build Qt 4.6 now and I 
> want the head again.
> 
>  
> 
> I’ve tried git revert head, git reset –hard, but when I build Qt Creator 
> again (with 4.5 still, just to check if I get 4.6 errors) it just 
> compiles, so it’s not the head, because it would complain of missing 
> QSharedPointer…
> 
>  
> 
> How to revert back to the main?

The right command to get back to our master branch should be:

git reset --hard origin/master

That will remove any custom commits (including reverts) you have on your 
local master branch (provided that's the branch you're on), and will 
wipe any local changes you have on your checkout.

Regards,
Bjørn

-- 
Thorbjørn Lindeijer
Software Engineer
Nokia, Qt Development Frameworks
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to