$ git clone -n https://gitee.com/zhangbinchen/librsvg2.git /var/lib/mock/dist-an23-build-465955-73955/root/chroot_tmpdir/scmroot/librsvg2 Cloning into '/var/lib/mock/dist-an23-build-465955-73955/root/chroot_tmpdir/scmroot/librsvg2'... $ git fetch origin 039590ff6c633b8e90a200b098f8f54eb99f4bfb:KOJI_FETCH_HEAD From https://gitee.com/zhangbinchen/librsvg2 * [new ref] 039590ff6c633b8e90a200b098f8f54eb99f4bfb -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 039590f fix spec