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