$ git clone -n https://gitee.com/zhuzhustu/anaconda_2.git /var/lib/mock/dist-an23-build-537596-83194/root/chroot_tmpdir/scmroot/anaconda_2 Cloning into '/var/lib/mock/dist-an23-build-537596-83194/root/chroot_tmpdir/scmroot/anaconda_2'... $ git fetch origin 1759b2075140f00c501fa20279f68f12eb24ef16:KOJI_FETCH_HEAD From https://gitee.com/zhuzhustu/anaconda_2 * [new ref] 1759b2075140f00c501fa20279f68f12eb24ef16 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1759b20 update anaconda.spec.