$ git clone -n https://gitee.com/mabofu/dsms.git /var/lib/mock/dist-an23-build-278286-64446/root/chroot_tmpdir/scmroot/dsms Cloning into '/var/lib/mock/dist-an23-build-278286-64446/root/chroot_tmpdir/scmroot/dsms'... $ git fetch origin bdc1452a2adca923b8015b5437f22737c203c4d3:KOJI_FETCH_HEAD From https://gitee.com/mabofu/dsms * [new ref] bdc1452a2adca923b8015b5437f22737c203c4d3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bdc1452 update %files