$ git clone -n https://gitee.com/alpha-wang/lzip.git /var/lib/mock/dist-an8.9-build-417469-72835/root/chroot_tmpdir/scmroot/lzip Cloning into '/var/lib/mock/dist-an8.9-build-417469-72835/root/chroot_tmpdir/scmroot/lzip'... $ git fetch origin b4ed6654b508aa53f38119f046f8bf907e536eb0:KOJI_FETCH_HEAD From https://gitee.com/alpha-wang/lzip * [new ref] b4ed6654b508aa53f38119f046f8bf907e536eb0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b4ed665 update to lzip-1.21-1.el8.src.rpm