$ git clone -n https://gitee.com/alpha-wang/hiredis.git /var/lib/mock/dist-an8.9-build-417866-72835/root/chroot_tmpdir/scmroot/hiredis Cloning into '/var/lib/mock/dist-an8.9-build-417866-72835/root/chroot_tmpdir/scmroot/hiredis'... $ git fetch origin 4f1e5065384ffdd7a033787e9bb74266bd784159:KOJI_FETCH_HEAD From https://gitee.com/alpha-wang/hiredis * [new ref] 4f1e5065384ffdd7a033787e9bb74266bd784159 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4f1e506 update to hiredis-0.13.3-13.el8.src.rpm