$ git clone -n https://gitee.com/wenjie2025/cups.git /var/lib/mock/dist-an23-build-508009-74965/root/chroot_tmpdir/scmroot/cups Cloning into '/var/lib/mock/dist-an23-build-508009-74965/root/chroot_tmpdir/scmroot/cups'... $ git fetch origin 589a96e24d78dc02bf5a9fa3365700cee1b948f6:KOJI_FETCH_HEAD From https://gitee.com/wenjie2025/cups * [new ref] 589a96e24d78dc02bf5a9fa3365700cee1b948f6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 589a96e Update code from upstream