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