$ git clone -n https://gitee.com/lizhao2025/sparsehash.git /var/lib/mock/dist-an23-build-500899-74764/root/chroot_tmpdir/scmroot/sparsehash Cloning into '/var/lib/mock/dist-an23-build-500899-74764/root/chroot_tmpdir/scmroot/sparsehash'... $ git fetch origin a62183cf4979f953bdff26c53a20c85c7a80e997:KOJI_FETCH_HEAD From https://gitee.com/lizhao2025/sparsehash * [new ref] a62183cf4979f953bdff26c53a20c85c7a80e997 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a62183c Update code from upstream