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