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