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