$ git clone -n https://gitee.com/gordonwwang/libqb.git /var/lib/mock/dist-ocs23-build-8785-173/root/chroot_tmpdir/scmroot/libqb Cloning into '/var/lib/mock/dist-ocs23-build-8785-173/root/chroot_tmpdir/scmroot/libqb'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/gordonwwang/libqb * [new ref] -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0eaee40 Upgrade to 2.0.6