$ git clone -n https://gitee.com/zhonglingh/suitesparse.git /var/lib/mock/dist-an23-build-346887-70346/root/chroot_tmpdir/scmroot/suitesparse Cloning into '/var/lib/mock/dist-an23-build-346887-70346/root/chroot_tmpdir/scmroot/suitesparse'... $ git fetch origin f0f78f34a49b99e2b48600fd982c8a22bb294db3:KOJI_FETCH_HEAD From https://gitee.com/zhonglingh/suitesparse * [new ref] f0f78f34a49b99e2b48600fd982c8a22bb294db3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f0f78f3 init from upstream