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