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