$ git clone -n https://gitee.com/mgb01105731/accountsservice.git /var/lib/mock/dist-an23-build-339529-69782/root/chroot_tmpdir/scmroot/accountsservice Cloning into '/var/lib/mock/dist-an23-build-339529-69782/root/chroot_tmpdir/scmroot/accountsservice'... $ git fetch origin 057b2af5ae20d87c7cafdd6a689551c6de5881c4:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/accountsservice * [new ref] 057b2af5ae20d87c7cafdd6a689551c6de5881c4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 057b2af rebuild