$ git clone -n https://gitee.com/fundawang/libproxy.git /var/lib/mock/dist-an23-build-284552-64755/root/chroot_tmpdir/scmroot/libproxy Cloning into '/var/lib/mock/dist-an23-build-284552-64755/root/chroot_tmpdir/scmroot/libproxy'... $ git fetch origin 45c7182905a3085d7a8ac89d305d4dfb6cb69c9f:KOJI_FETCH_HEAD From https://gitee.com/fundawang/libproxy * [new ref] 45c7182905a3085d7a8ac89d305d4dfb6cb69c9f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 45c7182 update br