$ git clone -n https://gitee.com/Weisson/gpsd_1773306683.git /var/lib/mock/dist-an23.4-build-519024-75681/root/chroot_tmpdir/scmroot/gpsd_1773306683 Cloning into '/var/lib/mock/dist-an23.4-build-519024-75681/root/chroot_tmpdir/scmroot/gpsd_1773306683'... $ git fetch origin 145e89649b58126140865ea2e852e7bdbc2f5057:KOJI_FETCH_HEAD From https://gitee.com/Weisson/gpsd_1773306683 * [new ref] 145e89649b58126140865ea2e852e7bdbc2f5057 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 145e896 Update code from upstream