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