On 19.10.2010, at 11:30, hari wrote:
> Can someone explain me the difference in pushing the code to HEAD:refs/
> head/* and HEAD:refs/for* in gerrit?
Pushing to refs/head/* circumvents code review (the change will not show up in the gerrit ui), wheres refs/for/* creates a change record for review.
> Also is there a way to push my
> changes to gerrit without committing the changes in my clone?
No, you need to commit before you can push, that's just regular git behaviour. If you want to keep your local repository "clean", you should do all work in topic branches (you should do that anyway). That way you can simply delete those branches after you pushed your changes to gerrit.
Regards,
Karsten