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