$ git clone -n https://gitee.com/winterddd/ras-tools.git /var/lib/mock/dist-an8.6-build-182910-60012/root/chroot_tmpdir/scmroot/ras-tools Cloning into '/var/lib/mock/dist-an8.6-build-182910-60012/root/chroot_tmpdir/scmroot/ras-tools'... $ git fetch origin 7f3c3e6204369d971ffc277da71f8efa178a056d:KOJI_FETCH_HEAD From https://gitee.com/winterddd/ras-tools * [new ref] 7f3c3e6204369d971ffc277da71f8efa178a056d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7f3c3e6 add ras-tools src and rpmspec