$ git clone -n https://gitee.com/mgb01105731/startdde.git /var/lib/mock/dist-an23-dde-build-379507-71802/root/chroot_tmpdir/scmroot/startdde Cloning into '/var/lib/mock/dist-an23-dde-build-379507-71802/root/chroot_tmpdir/scmroot/startdde'... $ git fetch origin 4271eedb0a1e91b8956a0177980fcc7b7acd20cc:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/startdde * [new ref] 4271eedb0a1e91b8956a0177980fcc7b7acd20cc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4271eed get tar from source