$ git clone -n https://gitee.com/samchugit/python-diskcache.git /var/lib/mock/dist-an23-epao-build-374391-71626/root/chroot_tmpdir/scmroot/python-diskcache Cloning into '/var/lib/mock/dist-an23-epao-build-374391-71626/root/chroot_tmpdir/scmroot/python-diskcache'... $ git fetch origin f0d5c544d42c3a02358f80c47e6de4728e4ff2b0:KOJI_FETCH_HEAD From https://gitee.com/samchugit/python-diskcache * [new ref] f0d5c544d42c3a02358f80c47e6de4728e4ff2b0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f0d5c54 init package from upstream