$ git clone -n https://gitee.com/mabofu/dsms-storage.git /var/lib/mock/dist-an8.7-build-275149-64202/root/chroot_tmpdir/scmroot/dsms-storage Cloning into '/var/lib/mock/dist-an8.7-build-275149-64202/root/chroot_tmpdir/scmroot/dsms-storage'... $ git fetch origin 76ff9c49c5cb169a0255ccf08ea7f2d5017eda44:KOJI_FETCH_HEAD From https://gitee.com/mabofu/dsms-storage * [new ref] 76ff9c49c5cb169a0255ccf08ea7f2d5017eda44 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 76ff9c49c update package requires