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