$ git clone -n https://gitee.com/fundawang/ffmpeg.git /var/lib/mock/dist-an23-build-347826-70386/root/chroot_tmpdir/scmroot/ffmpeg Cloning into '/var/lib/mock/dist-an23-build-347826-70386/root/chroot_tmpdir/scmroot/ffmpeg'... $ git fetch origin 9a341b0355962fd5e9e78ac9f2d6c99c5968cb34:KOJI_FETCH_HEAD From https://gitee.com/fundawang/ffmpeg * [new ref] 9a341b0355962fd5e9e78ac9f2d6c99c5968cb34 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9a341b0 Cleanup spec