$ git clone -n https://gitee.com/Weisson/gpsd_1770003788.git /var/lib/mock/dist-an23.4-build-510626-75047/root/chroot_tmpdir/scmroot/gpsd_1770003788 Cloning into '/var/lib/mock/dist-an23.4-build-510626-75047/root/chroot_tmpdir/scmroot/gpsd_1770003788'... $ git fetch origin 622f86cf470330bcc9cb8c3d0dca3271265f2ac8:KOJI_FETCH_HEAD From https://gitee.com/Weisson/gpsd_1770003788 * [new ref] 622f86cf470330bcc9cb8c3d0dca3271265f2ac8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 622f86c Update code from upstream