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