$ git clone -n https://gitee.com/mgb01105731/pkgconf.git /var/lib/mock/dist-an23-build-313461-67129/root/chroot_tmpdir/scmroot/pkgconf Cloning into '/var/lib/mock/dist-an23-build-313461-67129/root/chroot_tmpdir/scmroot/pkgconf'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/pkgconf * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ccb094c update to 1.9.5