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