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