$ git clone -n https://gitee.com/Weisson/gpsd_1770177138.git /var/lib/mock/dist-an23.4-build-511414-75056/root/chroot_tmpdir/scmroot/gpsd_1770177138 Cloning into '/var/lib/mock/dist-an23.4-build-511414-75056/root/chroot_tmpdir/scmroot/gpsd_1770177138'... $ git fetch origin 1e0aa6f75bcd500152461d61945bdf21803afe8e:KOJI_FETCH_HEAD From https://gitee.com/Weisson/gpsd_1770177138 * [new ref] 1e0aa6f75bcd500152461d61945bdf21803afe8e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1e0aa6f Update code from upstream