$ git clone -n https://gitee.com/src-anolis-os/kdump-anaconda-addon.git /var/lib/mock/dist-an23.2-build-409281-72669/root/chroot_tmpdir/scmroot/kdump-anaconda-addon Cloning into '/var/lib/mock/dist-an23.2-build-409281-72669/root/chroot_tmpdir/scmroot/kdump-anaconda-addon'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/kdump-anaconda-addon * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 51e422b Update to latest code from upstream