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