$ git clone -n https://gitee.com/wenjie2025/usermode.git /var/lib/mock/dist-an23-build-508892-75015/root/chroot_tmpdir/scmroot/usermode Cloning into '/var/lib/mock/dist-an23-build-508892-75015/root/chroot_tmpdir/scmroot/usermode'... $ git fetch origin f6c86ddce3449d7fe4510e863657ecc0a7a68af8:KOJI_FETCH_HEAD From https://gitee.com/wenjie2025/usermode * [new ref] f6c86ddce3449d7fe4510e863657ecc0a7a68af8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f6c86dd Update code from upstream