$ git clone -n https://gitee.com/mabofu/dsms.git /var/lib/mock/dist-an8.7-build-275868-64300/root/chroot_tmpdir/scmroot/dsms Cloning into '/var/lib/mock/dist-an8.7-build-275868-64300/root/chroot_tmpdir/scmroot/dsms'... $ git fetch origin 93692dff588c5ea95fd5690713ef3cbac177f94c:KOJI_FETCH_HEAD From https://gitee.com/mabofu/dsms * [new ref] 93692dff588c5ea95fd5690713ef3cbac177f94c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 93692df init from upstream