$ git clone -n https://gitee.com/zhaohang_mskdxl/cups_1766716399.git /var/lib/mock/dist-an23-build-501134-74764/root/chroot_tmpdir/scmroot/cups_1766716399 Cloning into '/var/lib/mock/dist-an23-build-501134-74764/root/chroot_tmpdir/scmroot/cups_1766716399'... $ git fetch origin 3f761f4d8e52892c947bfcc506f9ece67c6d7228:KOJI_FETCH_HEAD From https://gitee.com/zhaohang_mskdxl/cups_1766716399 * [new ref] 3f761f4d8e52892c947bfcc506f9ece67c6d7228 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3f761f4 Update code from upstream