$ git clone -n https://gitee.com/renbo02/python2-setuptools.git /var/lib/mock/dist-an8.9-build-382540-71837/root/chroot_tmpdir/scmroot/python2-setuptools Cloning into '/var/lib/mock/dist-an8.9-build-382540-71837/root/chroot_tmpdir/scmroot/python2-setuptools'... $ git fetch origin 2952597b8022f378d139bc3e88d561a8f8a2b6e1:KOJI_FETCH_HEAD From https://gitee.com/renbo02/python2-setuptools * [new ref] 2952597b8022f378d139bc3e88d561a8f8a2b6e1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2952597 update to python2-setuptools-39.0.1-14.src.rpm