$ git clone -n https://gitee.com/mgb01105731/python-qrcode.git /var/lib/mock/dist-an23-build-527844-79667/root/chroot_tmpdir/scmroot/python-qrcode Cloning into '/var/lib/mock/dist-an23-build-527844-79667/root/chroot_tmpdir/scmroot/python-qrcode'... $ git fetch origin 7f3c21a63893e2d6ff651527f06d4658c20e1518:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/python-qrcode * [new ref] 7f3c21a63893e2d6ff651527f06d4658c20e1518 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7f3c21a init