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