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