$ git clone -n https://gitee.com/wency_cn/python-outcome.git /var/lib/mock/dist-an23-build-491471-74530/root/chroot_tmpdir/scmroot/python-outcome Cloning into '/var/lib/mock/dist-an23-build-491471-74530/root/chroot_tmpdir/scmroot/python-outcome'... $ git fetch origin a622a2b2655788d2657ff45d3317d54d46256c7e:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/python-outcome * [new ref] a622a2b2655788d2657ff45d3317d54d46256c7e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a622a2b Update code from upstream