$ git clone -n https://gitee.com/wency_cn/quota.git /var/lib/mock/dist-an23-build-507713-74937/root/chroot_tmpdir/scmroot/quota Cloning into '/var/lib/mock/dist-an23-build-507713-74937/root/chroot_tmpdir/scmroot/quota'... $ git fetch origin 47e25b8f63304301a04fb00027e25922407a20bc:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/quota * [new ref] 47e25b8f63304301a04fb00027e25922407a20bc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 47e25b8 Update code from upstream