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