$ git clone -n https://gitee.com/renbo02/openssl.git /var/lib/mock/dist-an23.3-build-441428-73170/root/chroot_tmpdir/scmroot/openssl Cloning into '/var/lib/mock/dist-an23.3-build-441428-73170/root/chroot_tmpdir/scmroot/openssl'... $ git fetch origin a23-test:KOJI_FETCH_HEAD From https://gitee.com/renbo02/openssl * [new branch] a23-test -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 72d46f0 test