$ git clone -n https://gitee.com/douzhichong/python-cffi.git /var/lib/mock/dist-an23-build-480972-74252/root/chroot_tmpdir/scmroot/python-cffi Cloning into '/var/lib/mock/dist-an23-build-480972-74252/root/chroot_tmpdir/scmroot/python-cffi'... $ git fetch origin b31b0b221d2b5b9f89137377d5c0eff3b2409ee2:KOJI_FETCH_HEAD From https://gitee.com/douzhichong/python-cffi * [new ref] b31b0b221d2b5b9f89137377d5c0eff3b2409ee2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b31b0b2 update python-cffi.spec.