$ git clone -n https://gitee.com/Yang_X_Y/curl.git /var/lib/mock/dist-an23-build-377999-71770/root/chroot_tmpdir/scmroot/curl Cloning into '/var/lib/mock/dist-an23-build-377999-71770/root/chroot_tmpdir/scmroot/curl'... $ git fetch origin 31228b8132781059fa13c93f084f16276d1ec270:KOJI_FETCH_HEAD From https://gitee.com/Yang_X_Y/curl * [new ref] 31228b8132781059fa13c93f084f16276d1ec270 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 31228b8 update