$ git clone -n https://gitee.com/wenyuzifang/python-build.git /var/lib/mock/dist-an23-build-485567-74348/root/chroot_tmpdir/scmroot/python-build Cloning into '/var/lib/mock/dist-an23-build-485567-74348/root/chroot_tmpdir/scmroot/python-build'... $ git fetch origin 8cd1c3dca3a53e62ea066be394204ba2615024a0:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/python-build * [new ref] 8cd1c3dca3a53e62ea066be394204ba2615024a0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8cd1c3d Update code from upstream