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