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