$ git clone -n https://gitee.com/Weisson/gpm_1768185266.git /var/lib/mock/dist-an23-build-506655-74878/root/chroot_tmpdir/scmroot/gpm_1768185266 Cloning into '/var/lib/mock/dist-an23-build-506655-74878/root/chroot_tmpdir/scmroot/gpm_1768185266'... $ git fetch origin df101cc52f9f077f70003647eb3f2e4fa2db0441:KOJI_FETCH_HEAD From https://gitee.com/Weisson/gpm_1768185266 * [new ref] df101cc52f9f077f70003647eb3f2e4fa2db0441 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at df101cc Update code from upstream