$ git clone -n https://gitee.com/zhuhong_bo/debhelper.git /var/lib/mock/dist-an23-dde-build-530249-80251/root/chroot_tmpdir/scmroot/debhelper Cloning into '/var/lib/mock/dist-an23-dde-build-530249-80251/root/chroot_tmpdir/scmroot/debhelper'... $ git fetch origin 6c244fb9e13b54d0908b0b268e400e84d27485be:KOJI_FETCH_HEAD From https://gitee.com/zhuhong_bo/debhelper * [new ref] 6c244fb9e13b54d0908b0b268e400e84d27485be -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6c244fb add dist