$ git clone -n https://gitee.com/forrest_ly/armadillo.git /var/lib/mock/dist-an8.8-build-276460-64341/root/chroot_tmpdir/scmroot/armadillo Cloning into '/var/lib/mock/dist-an8.8-build-276460-64341/root/chroot_tmpdir/scmroot/armadillo'... $ git fetch origin 4a280006aa82ce6fc53d85bf6d8b5c1b926d9621:KOJI_FETCH_HEAD From https://gitee.com/forrest_ly/armadillo * [new ref] 4a280006aa82ce6fc53d85bf6d8b5c1b926d9621 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4a28000 update armadillo.spec.