$ git clone -n https://gitee.com/wenyuzifang/osinfo-db.git /var/lib/mock/dist-an23-build-485473-74348/root/chroot_tmpdir/scmroot/osinfo-db Cloning into '/var/lib/mock/dist-an23-build-485473-74348/root/chroot_tmpdir/scmroot/osinfo-db'... $ git fetch origin 24e8aba2ef351951840d9f5896e986a5a10a8d99:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/osinfo-db * [new ref] 24e8aba2ef351951840d9f5896e986a5a10a8d99 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 24e8aba Update code from upstream