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