$ git clone -n https://gitee.com/zhuzhustu/python-bugzilla.git /var/lib/mock/dist-an23-build-571022-92678/root/chroot_tmpdir/scmroot/python-bugzilla Cloning into '/var/lib/mock/dist-an23-build-571022-92678/root/chroot_tmpdir/scmroot/python-bugzilla'... $ git fetch origin c04e1150f3997b9b89867efe15f6b47a85b81f30:KOJI_FETCH_HEAD From https://gitee.com/zhuzhustu/python-bugzilla * [new ref] c04e1150f3997b9b89867efe15f6b47a85b81f30 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c04e115 update python-bugzilla.spec.