On Wed, 2011-05-04 at 22:43 +0400, Vitja Makarov wrote: > Thanks! Am I right: when you do reset '--hard origin/master' you are > on the master branch and when you do checkout you are in a 'detached > state'?
Yes, I think that you are right, that's why we used to do reset instead: $ git fetch origin $ git checkout master $ git reset --hard origin/master By the way, you can also do $ git clean -dfx to make sure that EVERYTHING that doesn't belong to the tree is plainly wiped out (don't do that on your real checkouts unless you definitively have nothing to lose). > But it seems to me that the problem is somewhere in the jenkins configuration. I didn't mean to say that there's no problem with Jenkins, just wanted to suggest a possibly better way of updating the CI checkout :-) -- Sincerely yours, Yury V. Zaytsev _______________________________________________ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel