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